Chapter 11. Vectors as Arrays and *Advanced Data Structures

In MATLAB an array is just another name for a vector. Why, then, devote a large part of a chapter to arrays when we have already been using vectors for most of the book? It is helpful to talk about arrays (as opposed to vectors) when we are concerned with handling individual elements by means of their subscripts rather than with handling the vector as a whole. In the first three sections of this chapter we will look at a number of problems that are best solved by treating vectors as arrays, usually with the help of ...

Get Essential MATLAB for Engineers and Scientists Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.