Collection many vectors in one matrix

4 vues (au cours des 30 derniers jours)
fathi
fathi le 22 Avr 2017
Commenté : fathi le 22 Avr 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

Réponse acceptée

Andrew Newell
Andrew Newell le 22 Avr 2017
The answer is
G = [I1; I2; I3];
  1 commentaire
fathi
fathi le 22 Avr 2017
Thank you for answering..

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by