cart2pol
Transforms Cartesian coordinates to polar or cylindrical.
Syntax
[theta, rho] = cart2pol(x, y)
[theta, rho, z] = cart2pol(x, y, z)
Input argument
x - a numeric value (double or single real): Cartesian coordinates
y - a numeric value (double or single real): Cartesian coordinates
z - a numeric value (double or single real): Cartesian coordinates
Output argument
theta - a numeric value: Angular coordinate.
rho - a numeric value: Radial coordinate.
z - a numeric value: Elevation coordinate.
Description
cart2pol transforms Cartesian coordinates to polar or cylindrical.
Examples
See also
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated