Chapter 5

Embracing Vectors, Matrices, and Higher Dimensions

IN THIS CHAPTER

check Interacting with vectors and matrices

check Performing addition, subtraction, multiplication, and division

check Working with more than two dimensions

check Getting help with matrixes

The previous chapters of this book introduce you to MATLAB and its interface. Starting in this chapter, you become immersed in math a little more serious than 2 + 2. Of course, in this “more serious” math, many problems revolve around vectors and matrices, so these are good topics to start with. This chapter helps you understand how MATLAB views both vectors and matrices, and how to perform basic tasks with these structures. The chapter then takes you from two-dimensional matrices to matrices with three or more dimensions. All this material gives you a good idea of just how MATLAB can help you solve your vector and matrix problems.

Of course, you might still have questions. In fact, a single chapter of a book can’t answer every question on this topic. That’s why you also need to know how to obtain additional help. The last section of the chapter ...

Get MATLAB For Dummies, 2nd 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.