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;

 Akzeptierte Antwort

Guillaume
Guillaume am 15 Jun. 2015

1 Stimme

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]

Weitere Antworten (1)

Ariunbolor Purvee
Ariunbolor Purvee am 22 Aug. 2018

1 Stimme

x_final = [x_lower x_mid x_upper]

Kategorien

Mehr zu Mathematics and Optimization finden Sie in Hilfe-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