Efficient Matrix Multiplication
Afficher commentaires plus anciens
I have A(2000x5000). I need to perform the following:
P1 = A(:,1)*A(:,1)';
for i=2:5000
P1 = P1 + AA(:,i)*A(:,i)'
end
What is the most efficient way to do above? It takes so much time to do it right now due to size of the arrays.
3 commentaires
Walter Roberson
le 26 Fév 2011
What is AA in this?
the cyclist
le 26 Fév 2011
From his initialization step, I would infer that "AA" is just a typo of "A."
Jan
le 27 Fév 2011
Just an actually too obvious comment: If AA is not typo, A*A' is not a matching solution. So, Sam Da, we need your help.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!