combine matrix in matlab

1 次查看(过去 30 天)
I need to combine the two matrices a and b to yield c
A = [1,2,3] & B = [4,5,6]
C = [1,4,2,5,3,6]

采纳的回答

Fangjun Jiang
Fangjun Jiang 2021-2-23
reshape([A;B],1,[])

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by