Element-wise matrix operation

Element-wise matrix operation - 消息

#1 已发布: 2023/3/17 05:23:56
Daniel Ferguson

Daniel Ferguson

1个赞,共2个帖子。

组: User

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?
#2 已发布: 2023/3/17 07:24:40
João Felipe Seráfico Melo

João Felipe Seráfico Melo

7个赞,共62个帖子。

组: User

Use the vectorize funcion.
#3 已发布: 2023/3/17 07:51:18
Daniel Ferguson

Daniel Ferguson

1个赞,共2个帖子。

组: User

Thanks for the quick reply joaobr, you have just saved me a lot of time!
1位用户喜欢此帖子
João Felipe Seráfico Melo 2023/3/17 09:24:00
  • 有新帖
  • 无新帖