How can I multiply N dimensional matrices
32 ビュー (過去 30 日間)
古いコメントを表示
I am trying to multiply a 3x3xn matrix with a 3x4xn matrix.
I tried a for loop but it says that the matrix dimensions do not agree.
The new matrix that I need is just the product of the first A(:,:,i)*B(:,:,i) which should work but in my case it isn't
0 件のコメント
採用された回答
その他の回答 (2 件)
James Tursa
2020 年 7 月 16 日
編集済み: James Tursa
2020 年 7 月 16 日
Other options from the FEX:
The first one is m-code, and the last two are mex routines that require a C compiler.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!