combine matrix in matlab

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]

 Accepted Answer

Fangjun Jiang
Fangjun Jiang on 23 Feb 2021

0 votes

reshape([A;B],1,[])

More Answers (0)

Products

Release

R2020b

Community Treasure Hunt

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

Start Hunting!