EXERCISE 2-1

Most of the data used in Matlab consists of vectors and arrays and at times only a subset of numbers are of interest. This is where indexing becomes important. One of the most useful operators in this context is the colon. For example, to create a row vector containing the integers from 6 to 12 we write: >> 6:12. ans = ................
................