WOLFRAM SYSTEM MODELER

fromPolar

Complex from polar representation

Wolfram Language

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

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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

Syntax

c = fromPolar(len, phi)

Inputs (2)

len

Type: Real

Description: abs of complex

phi

Type: Angle (rad)

Description: arg of complex

Outputs (1)

c

Type: Complex

Description: = len*cos(phi) + j*len*sin(phi)