Collection many vectors in one matrix

1 visualizzazione (ultimi 30 giorni)
fathi
fathi il 22 Apr 2017
Commentato: fathi il 22 Apr 2017
hi everybody how can I collect many vectors in one matrix EX:
I1 = [ 2 3 4 5 2 ]
I2 = [ 6 5 4 3 2]
I3 = [ 9 8 7 6 5 ]
The answer waht i want
G = [ 2 3 4 5 2;6 5 4 3 2; 9 8 7 6 5 ].
Thank you

Risposta accettata

Andrew Newell
Andrew Newell il 22 Apr 2017
The answer is
G = [I1; I2; I3];

Più risposte (0)

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by