标签: matlab matrix
我想在Matlab中合并两个数组,就像这样
A = [1 2; 3 4] B = [5 6; 7 8] C = [1 5; 3 7; 2 6; 4 8]
答案 0 :(得分:4)
使用:运算符:
:
C = [A(:) B(:)]