MATLAB: Combining multiple vectors into 1

combining vectors

if I had 3 vectors
x_lower = 1×100;
x_mid = 1×1;
x_upper = 1×100;
and I want to combine the 3 vectors into 1 vector, say,
x_final = 1×201;

Best Answer

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]