WLJS LogoWLJS Notebook

FromSphericalCoordinates

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

Examples

Convert spherical to Cartesian coordinates:

FromSphericalCoordinates[{1, Pi/4, Pi/3}]

Convert a unit vector:

FromSphericalCoordinates[{1, Pi/2, 0}]

Please visit the official Wolfram Language Reference for more details.

On this page