Converting 2D Array to 3D

 采纳的回答

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 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by