Hello,
I have 3, 4d arrays a,b,c.
size(a) = 200*300*3*726
size(b) = 200*300*3*750
size( c) = 200*300*3*712
I want to combine all 3 into one single 4d array x with size - 200*300*3*2188.
So basically a,b,c are the 3d images stored in arrays and 726,750,712 are the no. of images respectively and I want to put all the images together in one single array.
How can I do it?
Thank You

 採用された回答

Ameer Hamza
Ameer Hamza 2020 年 10 月 21 日

1 投票

Use cat()
M_big = cat(4, a, b, c)

2 件のコメント

REN Jain
REN Jain 2020 年 10 月 21 日
Than You sir.
Ameer Hamza
Ameer Hamza 2020 年 10 月 21 日
I am glad to be of help!

サインインしてコメントする。

その他の回答 (0 件)

質問済み:

2020 年 10 月 21 日

コメント済み:

2020 年 10 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by