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.
![]() |
Introduced in 2015
(10.1)