cart2sphvec
Convert vector from cartesian representation to spherical representation
Description
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 . The orientation of a spherical basis depends upon its location on the
sphere as determined by azimuth, az, and elevation,
el. See Spherical basis representation of vectors.
Each column of vs is a vector in the spherical basis. The third
dimension of vs can correspond to different spherical bases if
az and el.
