combine matrix in matlab

2 visualizzazioni (ultimi 30 giorni)
Chun Yin Lui
Chun Yin Lui il 23 Feb 2021
Commentato: Chun Yin Lui il 23 Feb 2021
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]

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 23 Feb 2021
reshape([A;B],1,[])

Più risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by