3D volume to 2D matrix conversion
1 回表示 (過去 30 日間)
古いコメントを表示
採用された回答
その他の回答 (1 件)
Hamoon
2015 年 9 月 16 日
another possibility:
A = rand(20,22,815); % your matrix
B = reshape(A,440,815)';
The output of this code is equal to Matt's answer.
you can also use B=reshape(A,815,440) without using transpose, then B will be a 815*440 matrix, but the arrangement of data will be different. This is up to you what kind of arrangement you want.
参考
カテゴリ
Help Center および File Exchange で Matrices and Arrays についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!