inv

Matrix inverse.

Syntax

  • res = inv(x)

Input argument

  • x - a numeric value: scalar or square matrix (double or single)

Output argument

  • res - a numeric value: a square matrix

Description

inv(x) computes the matrix inverse of x.

Example

X = rand(10, 10);
Y = inv(X);
Y * X

See also

expm.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated