[x,y,z] = sph2cart(az,el,r)
[x,y,z] = sph2cart(az,el,r)
transforms data stored as spherical coordinates to Cartesian, or xy, coordinates. az
, el
, and r
must all be the same size. az
and el
are in radians.
cart2pol
,cart2sph
,pol2cart
(c) Copyright 1994 by The MathWorks, Inc.