Can you write vectors in MATLAB?

MATLAB allows you to append vectors together to create new vectors. If you have two row vectors r1 and r2 with n and m number of elements, to create a row vector r of n plus m elements, by appending these vectors, you write − r = [r1,r2]
For More Information Please Refer:
https://www.tutorialspoint.com/matlab/matlab_vector_appending.htm
You May Also Like to Read: