WOLFRAM SYSTEMMODELER

Gain

Output the product of a gain value with the input signal

Wolfram Language

In[1]:=
SystemModel["Modelica.ComplexBlocks.ComplexMath.Gain"]
Out[1]:=

Information

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

Parameters (2)

k

Value:

Type: Complex

Description: Gain value multiplied with input signal

useConjugateInput

Value: false

Type: Boolean

Description: If true, input is processed conjugate complex

Connectors (2)

u

Type: ComplexInput

Description: Input signal connector

y

Type: ComplexOutput

Description: Output signal connector

Components (1)

k

Type: Complex

Description: Gain value multiplied with input signal