Reshape 3d into 2d matrix (in this way)
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jakov Simjanoski
le 11 Juil 2018
Réponse apportée : James Tursa
le 11 Juil 2018
I want to convert a 3D matrix A(:,:,1)= [1,2;3,4] A(:,:,2)= [5,6;7,8] A(:,:,3)= [9,10;11,12] into a 2D matrix A=[1,2,5,6,9,10;3,4,7,8,11,12]. Any help is appreciated, thank you in advance.
P.S. I will be working with much bigger matrices, in particular 450x450x450.
0 commentaires
Réponse acceptée
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!