reshape 3d to 2d array
古いコメントを表示
I have a 1 by 20 by 3 array and want to reshape it to 3 by 20 matrix
採用された回答
その他の回答 (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]);
カテゴリ
ヘルプ センター および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!