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 次查看(过去 30 天)
显示 更早的评论
![pic1.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/247986/pic1.png)
2 个评论
采纳的回答
Walter Roberson
2019-11-13
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);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!