Info
此问题已关闭。 请重新打开它进行编辑或回答。
how to merge the four arrays into one array
1 次查看(过去 30 天)
显示 更早的评论
how to merge the four arrays into one array
1 个评论
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
2012-9-25
编辑:Wayne King
2012-9-25
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.
0 个评论
Image Analyst
2012-9-25
wideArray = [a, b, c, d]; % Stitch together horizontally.
tallArray = [a; b; c; d]; % Stitch together vertically.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!