O'Reilly logo

MATLAB Symbolic Algebra and Calculus Tools by César Pérez López

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 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 ... ...

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