Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how to merge the four arrays into one array

1 visualización (últimos 30 días)
ajith
ajith el 25 de Sept. de 2012
how to merge the four arrays into one array
  1 comentario
Daniel Shub
Daniel Shub el 25 de Sept. de 2012
I am closing this question since there is nowhere near enough information to do anything other than guess.

Respuestas (2)

Wayne King
Wayne King el 25 de Sept. de 2012
Editada: Wayne King el 25 de Sept. de 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 el 25 de Sept. de 2012
wideArray = [a, b, c, d]; % Stitch together horizontally.
tallArray = [a; b; c; d]; % Stitch together vertically.

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by