Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Convert vector from spherical basis components to Cartesian components

`vr = sph2cartvec(vs,az,el)`

converts
the components of a vector or set of vectors, `vr`

= sph2cartvec(`vs`

,`az`

,`el`

)`vs`

,
from their *spherical basis representation* to
their representation in a local Cartesian coordinate system. A spherical
basis representation is the set of components of a vector projected
into the right-handed spherical basis given by $$({\widehat{e}}_{az},{\widehat{e}}_{el},{\widehat{e}}_{R})$$.
The orientation of a spherical basis depends upon its location on
the sphere as determined by azimuth, `az`

, and
elevation, `el`

.