Please help with this multiplication problem
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi folks,
We know that a 1 x n array times an m x 1 array gives an n x m matrix. I have a 1 x n x r matrix and a m x 1 x r matrix. Is there a way to do the multiplication of the two such that it gives me an m x n x r 3D matrix?
Thanks!
Jianwei
2 Kommentare
Matt J
am 5 Mär. 2025
We know that a 1 x n array times an m x 1 array gives an n x m matrix.
That is not correct. Perhaps you mean an mx1 array times a 1xn array gives an mxn matrix.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing 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!