how to merge the four arrays into one array

how to merge the four arrays into one array

댓글 수: 1

Daniel Shub
Daniel Shub 2012년 9월 25일
I am closing this question since there is nowhere near enough information to do anything other than guess.

답변 (2개)

Wayne King
Wayne King 2012년 9월 25일
편집: Wayne King 2012년 9월 25일

0 개 추천

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 2012년 9월 25일

0 개 추천

wideArray = [a, b, c, d]; % Stitch together horizontally.
tallArray = [a; b; c; d]; % Stitch together vertically.

이 질문은 마감되었습니다.

질문:

2012년 9월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by