how to merge the four arrays into one array
Info
This question is closed. Reopen it to edit or answer.
Show older comments
how to merge the four arrays into one array
1 Comment
Daniel Shub
on 25 Sep 2012
I am closing this question since there is nowhere near enough information to do anything other than guess.
Answers (2)
Wayne King
on 25 Sep 2012
Edited: Wayne King
on 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
on 25 Sep 2012
wideArray = [a, b, c, d]; % Stitch together horizontally.
tallArray = [a; b; c; d]; % Stitch together vertically.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!