Combine 4d array

12 vues (au cours des 30 derniers jours)
REN Jain
REN Jain le 21 Oct 2020
Commenté : Ameer Hamza le 21 Oct 2020
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

Réponse acceptée

Ameer Hamza
Ameer Hamza le 21 Oct 2020
Use cat()
M_big = cat(4, a, b, c)
  2 commentaires
REN Jain
REN Jain le 21 Oct 2020
Than You sir.
Ameer Hamza
Ameer Hamza le 21 Oct 2020
I am glad to be of help!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by