class="resources" Matrix Rank (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 Rank (Not in Base Package)

Computes the rank of Input Matrix. You can use this polymorphic VI to compute the rank for a real rectangular matrix or a complex rectangular matrix. The data type you wire to the Input Matrix input determines the polymorphic instance to use. Example

Real Matrix Rank

Input Matrix must be a real matrix.
tolerance defines a level such that the number of singular values greater than this level is the rank of Input Matrix. The default is –1. If tolerance is negative, the internal tolerance used to determine rank is set as shown in the following equation.

tolerance = max(m,n)*||A||*,

where A represents the Input Matrix, m represents the number of rows in A, n represents the number of columns in A, ||A|| is the 2-norm of A, is the smallest, floating point number that can be represented by type double, as shown in the following relationship.

= 2–52 = 2.22e – 16

rank is the number of singular values in the Input Matrix that are larger than the tolerance. rank is the maximum number of independent rows or columns in the 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 Rank

Input Matrix is a rectangular matrix.
tolerance defines a level such that the number of singular values greater than this level is the rank of Input Matrix. The default is –1. If tolerance is negative, the internal tolerance used to determine rank is set as shown in the following equation.

tolerance = max(m,n)*||A||*,

where A represents the Input Matrix, m represents the number of rows in A, n represents the number of columns in A, ||A|| is the 2-norm of A, is the smallest, floating point number that can be represented by type double, as shown in the following relationship.

= 2–52 = 2.22e – 16

rank is the number of singular values in the Input Matrix that are larger than the tolerance. rank is the maximum number of independent rows or columns in the 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.

Example

Refer to the Linear Algebra Calculator VI in the labview\examples\analysis\linaxmpl.llb directory for an example of using the Matrix Rank VI.

 


Resources


 

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