Combining multiple vectors into 1

23 vues (au cours des 30 derniers jours)
soloby
soloby le 15 Juin 2015
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;

Réponse acceptée

Guillaume
Guillaume le 15 Juin 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]

Plus de réponses (1)

Ariunbolor Purvee
Ariunbolor Purvee le 22 Août 2018
x_final = [x_lower x_mid x_upper]

Catégories

En savoir plus sur Mathematics and Optimization 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