Reshape multidimensional arrays - interpretation
Show older comments
Hi,
I have a 5D array (X) with the following variables: A, B, C, D and E each having lengths 10, 4, 2, 1000 and 20.
I have reshaped X as following: X2 = reshape(X,[],1000,20). When I run size(X2), I get 80 1000 20, which I understand. However, when I plot X2(1,:,1) how should the plot be interpret? Is X2(1,:,1) equal to (A1,B1,C1) and X2(2,:,1) equal to (A2,B1,C1) or am I wrong?
Thanks!
Accepted Answer
More Answers (0)
Categories
Find more on Performance and Memory 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!