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!