Coordinate transformationΒΆ

Function: r, phi = c2pr(x, y)

Coordinate transformation, cartesian to polar.

Parameter
x Abscissa
y Ordinate
Return values
r Radius
phi Angle in [rad]

Function: r, phi = c2pd(x, y)

Coordinate transformation, cartesian to polar.

Parameter
x Abscissa
y Ordinate
Return values
r Radius
phi Angle in [deg]

Function: x, y = pr2c(r, phi)

Coordinate transformation, polar to cartesian.

Parameter
r Radius
phi Angle in [rad]
Return values
x Abscissa
y Ordinate

Function: x, y = pd2c(r, phi)

Coordinate transformation, polar to cartesian.

Parameter
r Radius
phi Angle in [deg]
Return values
x Abscissa
y Ordinate