class="resources"
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

![]() |
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,
|
![]() |
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. |

![]() |
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,
|
![]() |
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. |
Refer to the Linear Algebra Calculator VI in the labview\examples\analysis\linaxmpl.llb directory for an example of using the Matrix Rank VI.