class="resources" Matrix Condition Number (Not in Base Package) - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Matrix Condition Number (Not in Base Package)

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

Real Matrix Condition Number

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.

02-norm (default)
11-norm
2F-norm
3inf-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.

Complex Matrix Condition Number

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.

02-norm (default)
11-norm
2F-norm
3inf-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.

Matrix Condition Number Details

condition number defines c as the following equation.

c = ||A||p||A–1||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.

Example

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.

 


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit