Vectorise a matrix multiplication chain
Mostra commenti meno recenti
I want to find a non-loop way to do the following:
for c = 1:q
h = h*Z{c};
end
Basically, how can I vectorise Z{1}*Z{2}*...*Z{q}?
Risposte (1)
KSSV
il 22 Giu 2021
0 voti
Read about the function prod.
Categorie
Scopri di più su Linear Algebra in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!