Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

how to merge the four arrays into one array

1 visualizzazione (ultimi 30 giorni)
ajith
ajith il 25 Set 2012
how to merge the four arrays into one array
  1 Commento
Daniel Shub
Daniel Shub il 25 Set 2012
I am closing this question since there is nowhere near enough information to do anything other than guess.

Risposte (2)

Wayne King
Wayne King il 25 Set 2012
Modificato: Wayne King il 25 Set 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
Image Analyst il 25 Set 2012
wideArray = [a, b, c, d]; % Stitch together horizontally.
tallArray = [a; b; c; d]; % Stitch together vertically.

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by