Matrix inverse.
inv([1,2;3,2])
matrix | The matrix to be inverted. |
return value | The inverse. |
The inv function can be used only with square matrices. For singular matrices an error message will be thrown.
This function can be used with complex matrices as well as matrices with quantities.
For non-square matrices see pinv.