functionfromPolar

Complex from polar representation

Extends from Modelica.Icons.Function (Icon for functions).

Information

This function constructs a Complex number from its length (absolute) and angle (argument).

Inputs

TypeNameDefaultDescription
Reallenabs of complex
Modelica.Units.SI.Anglephiarg of complex

Outputs

TypeNameDefaultDescription
Complexc= len*cos(phi) + j*len*sin(phi)