inv(m)

The inv(m) function returns an inverted square matrix m.

Example

OML

>> m=[1 -2;-3 4]

1 -2

-3 4

>> inv(m)

-2 -1

-1.5 -0.5

Block

inv function