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

2 ビュー (過去 30 日間)
sumeeth
sumeeth 2011 年 9 月 9 日
回答済み: Souarv De 2020 年 2 月 20 日
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 Center および File ExchangeData Types についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by