How can I combine two matrices ?

52 Ansichten (letzte 30 Tage)
DIMITRA GIANNOPOULOU
DIMITRA GIANNOPOULOU am 21 Feb. 2018
Kommentiert: Matt J am 21 Feb. 2018
A = [1 2 3; 4 5 6; 7 8 9] B = [10 11 12; 13 14 15]
C = [1 2 3; 4 5 6; 7 8 9; 10 11 12; 13 14 15]

Akzeptierte Antwort

Birdman
Birdman am 21 Feb. 2018
C=[A;B]
or
C=vertcat(A,B)
  1 Kommentar
Matt J
Matt J am 21 Feb. 2018
DIMITRA GIANNOPOULOU replied
Thank you so much

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by