Transform spherical coordinates to Cartesian
[x,y,z] = sph2cart(azimuth,elevation,r)
[x,y,z] = sph2cart(azimuth,elevation,r) transforms
the corresponding elements of spherical coordinate arrays to Cartesian,
or xyz, coordinates.
r must all be the same size (or any of them
can be scalar).
angular displacements in radians.
azimuth is the
counterclockwise angle in the x-y plane
measured from the positive x-axis.
the elevation angle from the x-y plane.