WOLFRAM SYSTEM MODELER
RectangularToPolarConvert rectangular coordinates to polar coordinates |
SystemModel["Modelica.Blocks.Math.RectangularToPolar"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
The input values of this block are the rectangular components
u_re
and u_im
of a phasor in two dimensions.
This block calculates the length y_abs
and
the angle y_arg
of the polar representation of this phasor.
y_abs = abs(u_re + j*u_im) = sqrt( u_re2 + u_im2 ) y_arg = arg(u_re + j*u_im) = atan2(u_im, u_re)
u_re |
Type: RealInput Description: Real part of rectangular representation |
|
---|---|---|
u_im |
Type: RealInput Description: Imaginary part of rectangular representation |
|
y_abs |
Type: RealOutput Description: Length of polar representation |
|
y_arg |
Type: RealOutput Description: Angle of polar representation |
Modelica.Blocks.Math Calculate harmonic over period 1/f |