reshape 3d to 2d array
7 次查看(过去 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!