sph2cartvec
Convert vector from spherical basis representation to cartesian representation
Description
converts the components of a vector or set of vectors, vr = sph2cartvec(vs,az,el)vs, from a
spherical basis representation to a representation in a local
cartesian coordinate system, vr. A spherical basis representation is
the set of components of a vector projected into the right-handed spherical basis given by . The orientation of a spherical basis depends upon its location on the
sphere as determined by azimuth, az, and elevation,
az. 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.
