I have 8x8 blocks of matrices. I want to concatenate all the blocks into a single matrix. Can anyone suggest me how to do it in matlab?
问问题
1161 次
2 回答
3
Lets look at a small example, suppose you have four 3x3 matrices:
A = rand(3);
B = rand(3);
C = rand(3);
D = rand(3);
Then you can concatenate them by doing:
M = [A B;C D]
于 2012-11-28T15:41:45.200 回答
0
我认为您可以通过在 matlab 中使用 horzcat 函数来做到这一点。http://www.mathworks.in/help/matlab/ref/horzcat.html 看看这是否可以帮助你
于 2012-11-29T15:40:55.367 回答