Note: This page has been translated by MathWorks. Please click here

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

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

Convert vector from Cartesian components to spherical representation

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

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

= cart2sphvec(`vr`

,`az`

,`el`

)`vr`

,
from their representation in a local Cartesian coordinate system to
a *spherical basis representation* contained
in `vs`

. A spherical basis representation is the
set of components of a vector projected into a 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`

.

Was this topic helpful?