![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/187453/image.jpeg)
save multiple matrix from 2D to one 3D in sequence
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
mohammed hussein
le 24 Déc 2017
Commenté : mohammed hussein
le 24 Déc 2017
Hi i have multiple matrix in 2D i want to save those in one 3D in sequence . for example i have matrix A , B ,C ,D ,and E i want the first slice is A and second slice is B and third slice is C and so on . lets say i have this matrices
A=ones(4);
B=2*ones(4);
C=3*ones(4);
D=4*ones(4);
E=5*ones(4);
3Dmatrix=?
thank you
2 commentaires
Matt J
le 24 Déc 2017
I see you have been active in the forum for several years now. You will make life easier for yourself and others if you learn how to use the {}Code button,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/187453/image.jpeg)
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!