Converting 2D Array to 3D
1 view (last 30 days)
Show older comments
How can I convert a 2D array to a 3D array in the following form?
0 Comments
Accepted Answer
madhan ravi
on 16 Mar 2019
permute(reshape(A,I/3,[],J),[1,3,2]) % A - matrix, I - no of rows, J - no of columns
More Answers (0)
See Also
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!