functionToPolar
Converts a space phasor to polar coordinates
Extends from Modelica.Icons.Function (Icon for functions).
Information
Converts a space phasor from rectangular coordinates to polar coordinates, providing angle=0 for {0,0}.Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[2] | x | Real and imaginary part of space phasor |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | absolute | Magnitude of space phasor | |
| SI.Angle | angle | Angle of space phasor |