Gain
Purpose
Multiply input signal by constant
Library
Control / Math
Description
The Gain block multiplies the input signal with the gain value. The multiplication
can either be an element-wise () or a matrix multiplication (
).
Parameters
- Gain
- The gain value to multiply with the input signal. For element-wise multiplication the gain value can be a scalar or a vector matching the width of the input signal. For matrix multiplication the the gain value can be a scalar, a vector or a matrix which has as many columns as the width of the input signal.
- Multiplication
- Specifies whether element-wise (
) or matrix multiplication (
) should be used.
Probe Signals
- Input
- The input signal.
- Output
- The output signal.