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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!