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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.