Combining 3 3D matrices

1 回表示 (過去 30 日間)
Minh Phuong Truong
Minh Phuong Truong 2022 年 2 月 7 日
回答済み: Rik 2022 年 2 月 7 日
I have 3 3D matrices, which size are 313x409x31, 313x409x28 and 313x409x30. I would like to combine those 3 3D matrices into one 313x409x89. Pls help me.

採用された回答

Rik
Rik 2022 年 2 月 7 日
Use cat:
A=rand(313,409,31);
B=rand(313,409,28);
C=rand(313,409,30);
total=cat(3,A,B,C);
size(total)
ans = 1×3
313 409 89

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by