reshape 3d to 2d array
조회 수: 19 (최근 30일)
이전 댓글 표시
I have a 1 by 20 by 3 array and want to reshape it to 3 by 20 matrix
댓글 수: 0
채택된 답변
추가 답변 (1개)
Bruno Luong
2019년 9월 4일
편집: Bruno Luong
2019년 9월 4일
Not RESHAPE, but PERMUTE (there is movement in internal storage, and it more expansive than RESHAPE)
A = permute(A, [3 2 1]);
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!