ToPolarCoordinates
ToPolarCoordinates[{x,y}]
gives the {r,θ} polar coordinates corresponding to the Cartesian coordinates {x,y}.
ToPolarCoordinates[{x1,x2,…,xn}]
gives the hyperspherical coordinates corresponding to the Cartesian coordinates {x1,x2,…,xn}.
Details
- ToPolarCoordinates produces points in the standard range , in two dimensions, and , , in higher dimensions.
- ToPolarCoordinates automatically threads over arrays of coordinate lists.
Examples
open allclose allProperties & Relations (6)
ToPolarCoordinates preserves the shape of arrays:
ToPolarCoordinates[pt] is a special case of CoordinateTransform:
ToPolarCoordinates inverts FromPolarCoordinates:
ToPolarCoordinates converts pairs of real numbers to their polar representation:
AbsArg converts complex numbers to their polar representation:
ToPolarCoordinates[{x,y,z}] uses spherical coordinates about the axis:
ToSphericalCoordinates[{x,y,z}] uses spherical coordinates about the axis:
ToPolarCoordinates changes the coordinate values of points:
TransformedField changes the coordinate expressions for fields:
Text
Wolfram Research (2015), ToPolarCoordinates, Wolfram Language function, https://reference.wolfram.com/language/ref/ToPolarCoordinates.html.
CMS
Wolfram Language. 2015. "ToPolarCoordinates." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ToPolarCoordinates.html.
APA
Wolfram Language. (2015). ToPolarCoordinates. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ToPolarCoordinates.html