How can I convert a 2D array to a 3D array in the following form?

 채택된 답변

madhan ravi
madhan ravi 2019년 3월 16일

3 개 추천

permute(reshape(A,I/3,[],J),[1,3,2]) % A - matrix, I - no of rows, J - no of columns

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Data Type Conversion에 대해 자세히 알아보기

질문:

2019년 3월 16일

편집:

2019년 3월 16일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by