summation of products of matrices
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I would like so have a fast solution to this problem
where is an p x m matrices and S is a symmetric matrices p x p, where m and p are very large
0 Commenti
Risposte (1)
Daniel Neubauer
il 4 Nov 2022
Modificato: Daniel Neubauer
il 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 Commenti
Vedere anche
Categorie
Scopri di più su Loops and Conditional Statements in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!