.Modelica.ComplexBlocks.ComplexMath.Gain

Information

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).


Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39