How can I Multiply a vector by a weight matrix

4 次查看(过去 30 天)
How can i multiple a 20 by 50 matrix (A) by a 20 by 20 weigting matrix(S)
i.e SA
THANK you
  2 个评论
Fabio Freschi
Fabio Freschi 2019-11-17
If A is 20 by 50 and S is 20 by 20, the product S*A is defined and the result is a 20 by 50 matrix.
Adam Danz
Adam Danz 2019-11-17
编辑:Adam Danz 2019-11-17
Here's a quick refresher on matrix multiplication
The only thing you need to know that is Matlab related is that A*B will execute matrix multiplication. A.*B will execute element-wise multiplication.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by