sph2cart

Purpose

Transform spherical coordinates to Cartesian.

Synopsis

[x,y,z] = sph2cart(az,el,r)

Description

[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.

See Also

cart2pol, cart2sph, pol2cart

(c) Copyright 1994 by The MathWorks, Inc.