How do I change the array of 200x2x100 to 100x2x200?
1 回表示 (過去 30 日間)
古いコメントを表示
In Python, I use "np.transpose" code, but I don't know how to use it on Matlab..
0 件のコメント
採用された回答
Subhadeep Koley
2021 年 4 月 28 日
編集済み: Subhadeep Koley
2021 年 4 月 28 日
% Generate demo data
data = rand(200, 2, 100);
% Permute the data
newData = permute(data, [3 2 1]);
size(data)
size(newData)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Call Python from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!