combining matrixes into 3d vector
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
Hi i have a function with a for loop. When I run it produces say 5 matrices with the same number of columns but different number of rows. How do i concatenate this 5 matrices into a 3d vector?? Please this is not me being lazy i have written all the code to produce this matrices i am just stuck in this part!
3 Kommentare
Sean de Wolski
am 12 Dez. 2013
What do you want to do with the inconsisten dimensions? Pad with zeros, nans, etc?
Alternatively you could use a cell array to store each unequal sized slice.
Giovanni
am 12 Dez. 2013
Walter Roberson
am 12 Dez. 2013
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!