Quick Scale 1D VI
- Updated2025-07-30
- 2 minute(s) read
Determines the maximum absolute value of the input X and then scales X using this value.

Inputs/Outputs
X
—
X is the input array.
Y[i]=X[i]/Max|X|
—
Y[i]=X[i]/Max|X| is the output array of the same size as X.
max|X|
—
max|X| is the maximum absolute value in the input array X.
error
—
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. |
This VI calculates Y[i]=X[i]/Max|X| using the following equation:
where s is the maximum absolute value in X.
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.
X
—
Y[i]=X[i]/Max|X|
—
max|X|
—
error
—