How can I Multiply a vector by a weight matrix

4 Ansichten (letzte 30 Tage)
Prince Igweze
Prince Igweze am 17 Nov. 2019
Bearbeitet: Adam Danz am 17 Nov. 2019
How can i multiple a 20 by 50 matrix (A) by a 20 by 20 weigting matrix(S)
i.e SA
THANK you
  2 Kommentare
Fabio Freschi
Fabio Freschi am 17 Nov. 2019
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 am 17 Nov. 2019
Bearbeitet: Adam Danz am 17 Nov. 2019
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by