summation of products of matrices
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Daniel Neubauer
el 4 de Nov. de 2022
Editada: Daniel Neubauer
el 4 de Nov. de 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 comentarios
Ver también
Categorías
Más información sobre Loops and Conditional Statements en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!