The inverse of a matrix. |
||
Syntax |
i = Inv(m) |
|
Argument |
Name |
Description |
m |
A square matrix. |
|
Output |
Name |
Description |
i |
The inverse (if it exists). |
|
Example |
Find the inverse of a matrix: |
|
Syntax |
||
I = Inv([1,2,3;7,5,6;3,8,9]) |
||
Result |
||
I = -0.1 0.2 -0.1 -1.5 0.0 0.5 1.3667 -0.066667 -0.3 |
||
Comments |
Matrix must be non-singular. |
|
See Also: |