Combining multiple vectors into 1

243 visualizaciones (últimos 30 días)
soloby
soloby el 15 de Jun. de 2015
Respondida: Ariunbolor Purvee el 22 de Ag. de 2018
if I had 3 vectors
x_lower = 1x100;
x_mid = 1x1;
x_upper = 1x100;
and I want to combine the 3 vectors into 1 vector, say,
x_final = 1x201;

Respuesta aceptada

Guillaume
Guillaume el 15 de Jun. de 2015
I'd recommend you follow the introductory tutorials in the doc, as it's a very basic operation:
x_final = [x_lower, x_mid, x_upper]

Más respuestas (1)

Ariunbolor Purvee
Ariunbolor Purvee el 22 de Ag. de 2018
x_final = [x_lower x_mid x_upper]

Categorías

Más información sobre Code Generation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by