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

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