1D Arrays & Vectors

Q. What is a vector?
A. A vector is a one-dimensional array. A row vector is an array with 1 row, M columns. A column vectors is an array with N rows, 1 column.

Users are encouraged to read through the following primer: 1D Arrays & Vectors Primer

Creating and performing vector operations Tutorials
Creating Vectors
Vector Operations: Arithmetic / Logical
Working with elements and indices Tutorials
Elements and Indices
Using find
Useful commands: length, sum, prod, diff, mean, max, min, sort
Inserting elements: a single element / a set of elements
Deleting elements: a single element / a set of elements
Replacing elements: a single element / a set of elements
Other Examples Tutorials
Evaluating and plotting a function over a given range
Evaluating and plotting a piecewise function over given ranges
Users are encouraged to work through the following suggested exercises: 1D Arrays & Vectors Exercises