Previous Up Next

15.1.2  Inverse of a matrix

The inv command finds the inverse of a matrix.

Note that 1/A and A^-1 are two alternative ways of computing the inverse of A.

Example

inv([[1,2],[3,4]])

or:

1/[[1,2],[3,4]]

or:

A:=[[1,2],[3,4]];1/A
     





−21
3
2
1
2





          

Previous Up Next