A Quick Introduction to Matlab

Creating vector and arrays. The variables you created above were all scalars (only one value for each variable). MATLAB was actually built around the use of vectors and arrays, so it is very efficient at processing vectors and arrays. Vectors are lists of numbers. Create a vector called v1 with three elements (note the use of the square brackets): ................
................