class="resources"
Computes the condition number of Input Matrix. You can use this polymorphic VI to compute the condition number for a real matrix or a complex matrix. The data type you wire to the Input Matrix input determines the polymorphic instance to use. Details Example

![]() |
Input Matrix can be a rectangular matrix when norm type is 2-norm. If norm type is not 2-norm, Input Matrix must be a square matrix. | ||||||||
![]() |
norm type indicates what type of norm is used to compute the condition number.
Refer to the Matrix Norm VI for a definition of a matrix norm.
|
||||||||
![]() |
condition number is the calculated condition number for a given norm. For the 2-norm, the condition number is the ratio of the largest, singular value of Input Matrix to the smallest, singular value of Input Matrix. | ||||||||
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |

![]() |
Input Matrix can be a rectangular matrix when norm type is 2-norm. If norm type is not 2-norm, Input Matrix must be a square matrix. | ||||||||
![]() |
norm type indicates what type of norm is used to compute the condition number.
Refer to the Matrix Norm VI for a definition of a matrix norm.
|
||||||||
![]() |
condition number is the calculated condition number for a given norm. For the 2-norm, the condition number is the ratio of the largest, singular value of Input Matrix to the smallest, singular value of Input Matrix. | ||||||||
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
condition number defines c as the following equation.
c = ||A||p||A1||p,
where ||A||p is the norm of Input Matrix. Different values of p define the different types of norms, therefore p defines different types of computations of condition numbers.
For the 2-norm condition number, c is the ratio of the largest, singular value of A to the smallest, singular value of A.
The condition number of a matrix measures the sensitivity of a system solution of linear equations to errors in the data. It gives an indication of the accuracy of the results from a matrix inversion and a linear equation solution.
Refer to the Linear Algebra Calculator VI in the labview\examples\analysis\linaxmpl.llb directory for an example of using the Matrix Condition Number VI.