Finds the Inverse Matrix, if it exists, of the Input Matrix. If the Input Matrix is nonsingular, then the Inverse Matrix can be found by solving the linear system
A B = I
where A is the Input Matrix, B is the Inverse Matrix, and I is the Identity Matrix. Details
![]() |
Input Matrix must be nonsingular and must have as many rows as columns. If Input Matrix is singular or is not square, the VI sets Inverse Matrix to an empty array and returns an error. 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 error introduced by the floating-point numeric coprocessor. Although the computations use the maximum possible accuracy, the VI cannot always solve the system. | ||||||||
![]() |
matrix type is the type of Input Matrix. Knowing the type of Input Matrix can speed up the computation of the determinant and can help you to avoid unnecessary computation, which could introduce numerical inaccuracy. matrix type has four possible options.
|
||||||||
![]() |
Inverse Matrix is the inverse matrix of the Input Matrix. | ||||||||
![]() |
error returns any error or warning condition from the VI. |
Let A be the Input Matrix and I be the identity matrix. You obtain the Inverse Matrix value by solving the system AB = I for B.
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:
B =
and B is therefore an Inverse Matrix. A nonsingular matrix is a matrix in which no row or column contains a linear combination of any other row or column, respectively.
![]() | 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.
You cannot always determine beforehand whether the matrix is singular, especially with large systems. The Inverse Matrix VI detects singular matrices and returns an error, so you do not need to verify whether you have a valid system before using this VI. |