FromSphericalCoordinates

FromSphericalCoordinates[{r,θ,ϕ}]

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

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  (5)

FromSphericalCoordinates checks that inputs obey the restrictions of spherical coordinates:

This point violates the condition on the polar angle :

Extract the symbolic transform from CoordinateTransformData to apply it to singular points:

The conversion back to spherical coordinates is not well defined:

FromSphericalCoordinates[pt] is a special case of CoordinateTransform:

FromSphericalCoordinates inverts ToSphericalCoordinates:

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

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

The spherical coordinates used by FromPolarCoordinates generalize to higher dimensions:

FromSphericalCoordinates changes the coordinate values of points:

TransformedField changes the coordinate expressions for fields:

Introduced in 2015
 (10.1)