res = inv(x)
| Parameter | Description |
|---|---|
| x | a numeric value: scalar or square matrix (double or single) |
| Parameter | Description |
|---|---|
| res | a numeric value: a square matrix |
inv(x) computes the matrix inverse of x.
X = rand(10, 10);
Y = inv(X);
Y * X
| Version | Description |
|---|---|
| 1.0.0 | initial version |
| 1.4.0 | warning about 'Matrix is singular to working precision' |