Vectorise a matrix multiplication chain

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}?

回答(1 个)

类别

帮助中心File Exchange 中查找有关 Linear Algebra 的更多信息

回答:

2021-6-22

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by