sph2cart
Transform spherical coordinates to Cartesian.
Syntax
[x, y, z] = sph2cart(azimuth, elevation, r)
Input argument
azimuth - a numeric value: Azimuth angle.
elevation - a numeric value: Elevation angle.
r - a numeric value: Radius.
Output argument
x - a numeric value (double or single real): Cartesian coordinates
y - a numeric value (double or single real): Cartesian coordinates
z - a numeric value (double or single real): Cartesian coordinates
Description
sph2cart transforms Cartesian to spherical coordinates.
Example
See also
History
Author
Allan CORNET
Last updated