Expanding a 2D matrix to 3D
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Camille Woicekowski
am 17 Jul. 2020
Bearbeitet: Matt J
am 17 Jul. 2020
I have a 2D matrix (3000x22) of True/False values (zeros and ones). Each column contains three True values. I want to make this into a 3D matrix (3000x20x3) where the first new dimmension has the first True value, the second has the second True value, and the third has the third True value. How can I do this?
0 Kommentare
Akzeptierte Antwort
Siehe auch
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!