Quick Scale VI

Owning Palette: Signal Operation VIs

Requires: Full Development System

Determines the maximum absolute value of the input X and then scales X using this value.

Details  

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

 Add to the block diagram  Find on the palette

Quick Scale 1D

X is the input array.
Y[i]=X[i]/Max|X| is the output array of the same size as X.
max|X| is the maximum absolute value in the input array X.
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.

Quick Scale 2D

X is the 2D input array.
Yij=Xij/Max|X| is the 2D output array of the same size as X.
max|X| is the maximum absolute value in the input array X.
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.

Quick Scale Details

You can use this VI to normalize sequences within the range [–1:1]. This VI is particularly useful if the sequence is a zero mean sequence.

Quick Scale 1D

This VI calculates Y[i]=X[i]/Max|X| using the following equation:

where s is the maximum absolute value in X.

If X is an array of zeros, this VI returns max|X| as 0 and Y[i]=X[i]/Max|X| as an array of zeros.

Quick Scale 2D

This VI calculates Yij=Xij/Max|X| using the following equation:

where s denotes the maximum absolute value in X.

If X is an array of zeros, this VI returns max|X| as 0 and Yij=Xij/Max|X| as an array of zeros.