how to make a Mx1xN matrix to MxN
显示 更早的评论
回答(2 个)
Fangjun Jiang
2011-8-29
a=rand(3,1,2);
b=reshape(a,3,2);
or
c=squeeze(a);
Florin Neacsu
2011-8-29
2 个投票
Hi,
You can also try squeeze.
Regards, Florin
类别
在 帮助中心 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!