CHAPTER 4

image

Symbolic Matrix Algebra

4-1. Vectors and Matrices

In the preceding chapter’s coverage of vector and matrix variables, we saw how to define vectors and matrices in MATLAB. At the same time, we defined simple operations with vector and matrix variables. This chapter will expand the concepts of matrix algebra, introducing commands that allow you to work with matrices.

Consider the matrix:

image

You can enter this in MATLAB in any of the following ways:

A=[a11,a12,...,a1n ; a21,a22,...,a2n ; ... ; am1,am2,...,amn]A=[a11 a12 ... a1n ; a21 a22 ... ...

Get MATLAB Symbolic Algebra and Calculus Tools 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.