how to merge the four arrays into one array
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
how to merge the four arrays into one array
1 commentaire
Daniel Shub
le 25 Sep 2012
I am closing this question since there is nowhere near enough information to do anything other than guess.
Réponses (2)
Wayne King
le 25 Sep 2012
Modifié(e) : Wayne King
le 25 Sep 2012
It depends what you mean by merge. Are these arrays the same size?
Look at cat
x = randn(2,2);
y = randn(2,2);
z = randn(2,2);
w = randn(2,2);
A = cat(1,x,y,z,w);
If this is not what you need, then please give us a simple example that illustrates your question.
Image Analyst
le 25 Sep 2012
wideArray = [a, b, c, d]; % Stitch together horizontally.
tallArray = [a; b; c; d]; % Stitch together vertically.
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!