Collection many vectors in one matrix

2 visualizaciones (últimos 30 días)
fathi
fathi el 22 de Abr. de 2017
Comentada: fathi el 22 de Abr. de 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

Respuesta aceptada

Andrew Newell
Andrew Newell el 22 de Abr. de 2017
The answer is
G = [I1; I2; I3];

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by