How to reshape a matrix
古いコメントを表示
Hello , i've got a k by l by m by n by o matrix and i want to reshape it into a vector.. Any ideas?
採用された回答
その他の回答 (1 件)
A = rand(2,2,2,2);
B = A(:);
size(B)
カテゴリ
ヘルプ センター および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!