ToSphericalCoordinates

ToSphericalCoordinates[{x,y,z}]

gives the {r,θ,ϕ} spherical coordinates corresponding to the Cartesian coordinates {x,y,z}.

Details

Examples

open allclose all

Basic Examples  (2)

Convert a general point:

A specific point:

Scope  (2)

Convert several points:

A matrix of points:

Properties & Relations  (4)

ToSphericalCoordinates[pt] is a special case of CoordinateTransform:

ToSphericalCoordinates inverts FromSphericalCoordinates:

ToSphericalCoordinates[{x,y,z}] uses spherical coordinates about the axis:

ToPolarCoordinates[{x,y,z}] uses spherical coordinates about the axis:

The spherical coordinates used by ToPolarCoordinates generalize to higher dimensions:

ToSphericalCoordinates changes the coordinate values of points:

TransformedField changes the coordinate expressions for fields:

Wolfram Research (2015), ToSphericalCoordinates, Wolfram Language function, https://reference.wolfram.com/language/ref/ToSphericalCoordinates.html.

Text

Wolfram Research (2015), ToSphericalCoordinates, Wolfram Language function, https://reference.wolfram.com/language/ref/ToSphericalCoordinates.html.

CMS

Wolfram Language. 2015. "ToSphericalCoordinates." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ToSphericalCoordinates.html.

APA

Wolfram Language. (2015). ToSphericalCoordinates. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ToSphericalCoordinates.html

BibTeX

@misc{reference.wolfram_2023_tosphericalcoordinates, author="Wolfram Research", title="{ToSphericalCoordinates}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/ToSphericalCoordinates.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_tosphericalcoordinates, organization={Wolfram Research}, title={ToSphericalCoordinates}, year={2015}, url={https://reference.wolfram.com/language/ref/ToSphericalCoordinates.html}, note=[Accessed: 19-March-2024 ]}