Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Matrix Norm (Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Computes the norm of Input Matrix. The data type you wire to the Input Matrix input determines the polymorphic instance to use.

Note  You can use the Vector Norm VI or the Unit Vector VI to calculate the vector norm.

Examples

Use the pull-down menu to select an instance of this VI.

Real Matrix Norm

Input Matrix can be a square or rectangular, real matrix.
norm type indicates what type of norm is used to compute the norm.

02-norm—||A||2 is the largest singular value of the Input Matrix.
11-norm—||A||1 is the largest absolute column sum of the Input Matrix.
2F-norm—||A||f is equal to where diag(ATA) means the diagonal elements of matrix ATA and AT is the transpose of A.
3inf-norm—||A|| is the largest absolute row sum of the Input Matrix.
norm is a scalar that gives some measure of the magnitude of the elements in the matrix. Let A represent the Input Matrix, the norm of A is represented by ||A||p, where p can be 1, 2, F, or infinity, indicating different types of norms that are computed.
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 Norm

Input Matrix can be a square or rectangular, complex matrix.
norm type indicates what type of norm is used to compute the norm.

02-norm—||A||2 is the largest singular value of the Input Matrix.
11-norm—||A||1 is the largest absolute column sum of the Input Matrix.
2F-norm—||A||f is equal to where diag(AHA) means the diagonal elements of matrix AHA and AH is the conjugate transpose of A.
3inf-norm—||A|| is the largest absolute row sum of the Input Matrix.
norm is a scalar that gives some measure of the magnitude of the elements in the matrix. Let A represent the Input Matrix, the norm of A is represented by ||A||p, where p can be 1, 2, F, or infinity, indicating different types of norms that are computed.
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.

Examples

Refer to the following VIs for examples of using the Matrix Norm VI:

  • Linear Algebra Calculator VI: labview\examples\analysis\linaxmpl.llb
  • Matrix to a Power VI: labview\examples\math\matrices.llb

Resources


 

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