Normalize VI

Owning Palette: Signal Operation VIs

Requires: Full Development System

Normalizes the input vector or matrix using its statistical profile (µ,s), where µ is the mean and s is the standard deviation, to obtain a Normalized Vector or Normalized Matrix whose statistical profile is (0,1).

Details  

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

 Add to the block diagram  Find on the palette

Normalize Vector

Vector is the input vector. If Vector is an empty array, Normalized Vector is also an empty array, and mean and standard deviation are NaN.
Normalized Vector is the output normalized vector.
standard deviation is the standard deviation of Vector.
mean is the mean of Vector.
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.

Normalize Matrix

Matrix is the 2D input matrix. If Matrix is an empty array, Normalized Matrix is also an empty array, and mean and standard deviation are NaN.
Normalized Matrix is the output normalized matrix.
standard deviation is the standard deviation of Matrix.
mean is the mean of 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.

Normalize Details

Normalize Vector

This VI calculates Normalized Vector using the following equation:

where Y represents the output sequence Normalized Vector, X represents the input sequence Vector of length n, and xi is the ith element of X.

Normalize Matrix

This VI calculates Normalized Matrix using the following equation:

where B represents the 2D output sequence Normalized Matrix, A represents the 2D input sequence Matrix with n rows and m columns, and aij is the element of A on the ith row and jth column.