How to unfold/concatenate a 3D Matrix?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Rafael Borobio Castillo
le 10 Jan 2022
Commenté : Rafael Borobio Castillo
le 11 Jan 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 commentaires
Réponse acceptée
Stephen23
le 10 Jan 2022
Making some guesses about the order you want, where A is your array:
B = reshape(permute(A,[1,3,2]),[],21)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!