Converting 2D matrix to 3D matrix
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
saswati bhattacharya
am 28 Feb. 2018
Bearbeitet: Walter Roberson
am 6 Mär. 2018
I have a 3529 x 2 2D matrix. how can I convert it into a 3D matrix? please help.
2 Kommentare
Guillaume
am 28 Feb. 2018
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?
Akzeptierte Antwort
Andrei Bobrov
am 28 Feb. 2018
out = reshape(your_matrix,size_of_your_new_3D_matrix)
7 Kommentare
saswati bhattacharya
am 6 Mär. 2018
Bearbeitet: Walter Roberson
am 6 Mär. 2018
Guillaume
am 6 Mär. 2018
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!