 Rank: Newbie
Groups: Registered
Joined: 17/03/2023(UTC) Posts: 2  Location: Liverpool, UK Was thanked: 1 time(s) in 1 post(s)
|
I need to square all values in a matrix and keep the results in matrix form. Is there a way to use element wise operations on matrices? Edited by user 17 March 2023 13:51:50(UTC)
| Reason: Not specified
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 12/02/2018(UTC) Posts: 62   Location: Belém Was thanked: 7 time(s) in 6 post(s)
|
Use the vectorize funcion.
|
|
|
|
 Rank: Newbie
Groups: Registered
Joined: 17/03/2023(UTC) Posts: 2  Location: Liverpool, UK Was thanked: 1 time(s) in 1 post(s)
|
Thanks for the quick reply joaobr, you have just saved me a lot of time!
|
 1 user thanked djfferguson for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.