inv
Matrix inverse.
📝Syntax
res = inv(x)
📥Input Arguments
Parameter Description
x a numeric value: scalar or square matrix (double or single)
📤Output Arguments
Parameter Description
res a numeric value: a square matrix
📄Description

inv(x) computes the matrix inverse of x.

💡Examples
X = rand(10, 10);
Y = inv(X);
Y * X
🔗See Also
expm
🕔Version History
Version Description
1.0.0 initial version
1.4.0 warning about 'Matrix is singular to working precision'
Edit this page on GitHub