Linear Scale
- Updated2023-02-17
- 2 minute(s) read
Linear Scale
Scales a signal based on a straight line.
.gvi.png?_LANG=enus)
Inputs/Outputs

signal
Input signal.
This input accepts the following data types:
- Waveform
- 1D array of waveforms
- Double-precision, floating-point number
- 1D array of double-precision, floating-point numbers
- 2D array of double-precision, floating-point numbers
- 1D array of complex double-precision, floating-point numbers
- 2D array of complex double-precision, floating-point numbers

scale
Slope used for linear scaling.
The following equation defines linear scaling: , where m is scale.
Default value: 1

offset
Intercept used for linear scaling.
The following equation defines linear scaling: , where b is offset.
Default value: 0

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

scaled signal
Result of scaling the input signal.
This output can return the following data types:
- Waveform
- 1D array of waveforms
- Double-precision, floating-point number
- 1D array of double-precision, floating-point numbers
- 2D array of double-precision, floating-point numbers
- 1D array of complex double-precision, floating-point numbers
- 2D array of complex double-precision, floating-point numbers

error out
Error information.
The node produces this output according to standard error behavior.