How to create a 3D matrix using the 2D matrices

3 次查看(过去 30 天)
Hello All
I have 72 matrices of size 137x137 each.So i want to store these matrices in a 3D matrix with third dimension as index of each 137x137 matrix which makes a 3D matrix of size 137x137x72.
So guys do help me in sorting this out.
  1 个评论
swati rani
swati rani 2017-8-25
Heyie,
could you be kind enough to share your experience, how did you resolve your problem?

请先登录,再进行评论。

采纳的回答

Fangjun Jiang
Fangjun Jiang 2011-9-9
d=zeros(137,137,72);
for k=1:72
d(:,:,k)=rand(137);
end

更多回答(1 个)

Souarv De
Souarv De 2020-2-20
randi(10,137,137,72)

类别

Help CenterFile Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by