summation of products of matrices
1 回表示 (過去 30 日間)
古いコメントを表示
I would like so have a fast solution to this problem


0 件のコメント
回答 (1 件)
Daniel Neubauer
2022 年 11 月 4 日
編集済み: Daniel Neubauer
2022 年 11 月 4 日
take a look at
is that what you need?
p=3;
m=4;
i=5;
E=ones(p,p,i);
A=rand(p,m,i);
Sum=sum(pagemtimes(pagemtimes(A,'C',E,'N'),A),3)
4 件のコメント
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!