Matrix Norm VI

Owning Palette: Linear Algebra VIs

Requires: Full Development System

Computes the norm of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.

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.

 Add to the block diagram  Find on the palette

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: