rae2xyz
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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Computational Geometry > Cartesian Coordinate System Conversion >
- Aerospace > Aerospace Toolbox > Standard Workflow Procedures > Coordinate Systems >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | added sanity checks; handled 2D data |