save multiple matrix from 2D to one 3D in sequence
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Matt J
2017-12-24
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,
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!