O'Reilly logo

Essential MATLAB for Engineers and Scientists, 6th Edition by Daniel T. Valentine, Brian Hahn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10

Vectors as Arrays and Other Data Structures

Abstract

The objectives of this chapter are to enable you to solve problems which involve working carefully with array subscripts and to introduce you to structures, cells and cell arrays. In MATLAB an array is just another name for a vector or a matrix. However, it is helpful to talk about arrays when we are concerned with handling individual elements by means of their subscripts, rather than with the vectors or matrices as a whole. Thus, in the first part of this chapter we examine a number of problems which are best solved by treating tabular data as arrays. In the second part of this chapter we deal with other, more advanced, data structures.

Keywords

Arrays (scalars, vectors ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required