User Tools

Site Tools


matrices

This is an old revision of the document!


Matrices

In the context that we will discuss them, matrices are variables that are mxn that m and n > 1. The basic syntax of creating a matrix are shown below.

x = [1 2 3; 4 5 6; 7 8 9]

The semicolon indicates a new row. Both x and y are 3×3 matrices. Arithmetic with matrices is similar to arithmetic with arrays.

matrices.1430934753.txt.gz ยท Last modified: 2015/05/06 11:52 by petersen