How to unfold/concatenate a 3D Matrix?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Rafael Borobio Castillo
il 10 Gen 2022
Commentato: Rafael Borobio Castillo
il 11 Gen 2022
I have a 3D matrix of 100x21x100 and I want to perform a vertical unfolding, i.e., to get a 10000x21 matrix.
Thanks for your attention.
0 Commenti
Risposta accettata
Stephen23
il 10 Gen 2022
Making some guesses about the order you want, where A is your array:
B = reshape(permute(A,[1,3,2]),[],21)
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!