David
Farruggio

MathGenie

inv

Matrix inverse

Syntax and Description

inv(X) computes the inverse of square matrix X.
  • X^(-1) is equivalent to inv(X).
  • x = A\b is computed differently than x = inv(A)*b and is recommended for solving systems of linear equations.

Back to functions