Determines scale and offset and then scales the input array X using these values. Details
![]() |
X consists of the input array. |
![]() |
Y=(X-offset)/scale is the output array. |
![]() |
scale is the scaling factor. |
![]() |
offset is the offset factor. |
![]() |
error returns any error or warning condition from the VI. |
The output array Y is given by
scale = 0.5(max - min)
and
offset = min + scale
where max denotes the maximum value in X, and min denotes the minimum value in X. Each element of Y is given by
Y[i] = (X[i] offset)/scale
You can use this VI to normalize any numerical sequence with the assurance that the range of the output sequence is [1:1].