Converting 2D matrix to 3D matrix
6 ビュー (過去 30 日間)
古いコメントを表示
saswati bhattacharya
2018 年 2 月 28 日
編集済み: Walter Roberson
2018 年 3 月 6 日
I have a 3529 x 2 2D matrix. how can I convert it into a 3D matrix? please help.
2 件のコメント
Guillaume
2018 年 2 月 28 日
More information required. Why do you want it to be 3D? What should the size of the 3D matrix be? Which elements of the 2D matrix should move to the 3rd dimension?
採用された回答
Andrei Bobrov
2018 年 2 月 28 日
out = reshape(your_matrix,size_of_your_new_3D_matrix)
7 件のコメント
Guillaume
2018 年 3 月 6 日
You have yet to explain what any of these numbers represent so we have absolutely no idea how to convert your 2D matrix to 3D.
You really really really need to explain a lot better what it is you want.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!