blockProduct

Output product of the two inputs

Extends from Interfaces.ComplexSI2SO (2 Single Input / 1 Single Output continuous control block).

Information

This blocks computes the output y (element-wise) as product of the corresponding elements of the two inputs u1 and u2. Optionally, either input u1 or u2 or both inputs can be processed conjugate complex, when parameters useConjugateInput1 and useConjugateInput2 are true, respectively. Depending on useConjugateInput1 and useConjugateInput2 the internal signals represent either the original or the conjugate complex input signal.

y = u1Inernal * u2Internal;

Example: If useConjugateInput1 = true and useConjugateInput2 = false the output signal y = Modelica.ComplexMath.conj(u1) * u2.

Parameters

TypeNameDefaultDescription
BooleanuseConjugateInput1 (from ComplexSI2SO)falseIf true, input 1 is processed conjugate complex
BooleanuseConjugateInput2 (from ComplexSI2SO)falseIf true, input 2 is processed conjugate complex

Connectors

TypeNameDefaultDescription
ComplexInputu1 (from ComplexSI2SO)Connector of Complex input signal 1
ComplexInputu2 (from ComplexSI2SO)Connector of Complex input signal 2
ComplexOutputy (from ComplexSI2SO)Connector of Complex output signal