summation of products of matrices
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I would like so have a fast solution to this problem
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1181258/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1180758/image.png)
0 Kommentare
Antworten (1)
Daniel Neubauer
am 4 Nov. 2022
Bearbeitet: Daniel Neubauer
am 4 Nov. 2022
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 Kommentare
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements 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!