GainOutput the product of a gain value with the input signal |
|
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This block computes output y as
product of gain k with the
input u. Optionally, the input u can be processed conjugate complex, when parameter useConjugateInput is true. Depending on useConjugateInput either the original or the conjugate complex input signal are processed.
y = k * (if useConjugateInput then Modelica.ComplexMath.conj(u) else u);
Example: If useConjugateInput = true and k = 2 the output signal y = 2 * Modelica.ComplexMath.conj(u).
| k |
Value: Type: Complex Description: Gain value multiplied with input signal |
|---|---|
| useConjugateInput |
Value: false Type: Boolean Description: If true, input is processed conjugate complex |
| u |
Type: ComplexInput Description: Input signal connector |
|
|---|---|---|
| y |
Type: ComplexOutput Description: Output signal connector |
| k |
Type: Complex Description: Gain value multiplied with input signal |
|---|