Finds Inverse Matrix, if it exists, of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.


icon

If Input Matrix is nonsingular, you can find Inverse Matrix by solving the linear system given by the following equation.

AB = I,

where A is the Input Matrix, B is the Inverse Matrix, and I is the identity matrix.

If A is a nonsingular matrix, you can show that the solution to the preceding system is unique and that it corresponds to the Inverse Matrix of A, given by the following equation.

B = A–1

Therefore, B is an Inverse Matrix.

Note The numerical implementation of the matrix inversion is not only numerically intensive but, because of its recursive nature, is also highly sensitive to round-off errors introduced by the floating-point numeric coprocessor. Although the computations use the maximum possible accuracy, the VI cannot always solve for the system.

Examples

Refer to the following example files included with LabVIEW.

  • labview\examples\Mathematics\Linear Algebra\Linear Algebra Calculator.vi
  • labview\examples\Mathematics\Linear Algebra\Matrix to a Power.vi