blockVectorGain
Output the product of a gain value with the input signal
Information
This block computes output y as product of gain k with the input u:
y = k * u;
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | Gain value multiplied with input signal | |
| Integer | n | 1 | Dimension of input and output vectors. |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[n] | u | Input signal connector | |
| Modelica.Blocks.Interfaces.RealOutput[n] | y | Output signal connector |