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]

 Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 23 Feb. 2021

0 Stimmen

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

Weitere Antworten (0)

Produkte

Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by