I have a 3×3 matrix and I have to multiply it to a 3×1 cell having matrices of dimensions 600×600. Kindly help me in doing so.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Risposta accettata
Walter Roberson
il 13 Nov 2019
Guessing at what you want:
nB = [reshape(B{1},1,[]); reshape(B{2},1,[]); reshape(B{3},1,[]);
CB = C * nB; %this will give 3 x 3600
out{1} = reshape(CB(1,:),600,600);
out{2} = reshape(CB(2,:),600,600);
out{3} = reshape(CB(3,:)600,600);
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrices and Arrays 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!