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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | len | abs of complex | |
| Modelica.Units.SI.Angle | phi | arg of complex |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Complex | c | = len*cos(phi) + j*len*sin(phi) |