rae2xyz

Transform radar coordinates (Range, Azimuth, Elevation) to Cartesian coordinates (East, North, Up)
4.8K Downloads
Updated 24 Aug 2007

No License

A variation of Matlab's sph2cart, that transforms a vector of radar coordinates (Range, Azimuth, Elevation) to Cartesian coordinates (East, North, Up). Note the different definition of radar coords vs. spherical coords, which require this different function (see exact definitions within the help comment).

input format #1: [...] = rae2xyz(range, azimuth, elevation)
input format #2: [...] = rae2xyz(rae)
output format #1: [east, north, up] = rae2xyz(...)
output format #2: xyz = rae2xyz(...)

The input coordinates may be either singular values or a vector of coordinate points.

Use the corresponding xyz2rae function for the reverse transformation.

Note: rae2xyz does NOT take into account earth curvature, Ionosphere beam curving etc. - this simple function uses a simple flat-earth free-space model.

Cite As

Yair Altman (2024). rae2xyz (https://www.mathworks.com/matlabcentral/fileexchange/16084-rae2xyz), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

added sanity checks; handled 2D data