xyz2rae

版本 1.0.0.0 (1.4 KB) 作者: Yair Altman
Transform Cartesian coordinates (East, North, Up) to radar coordinates (Range, Azimuth, Elevation)
4.6K 次下载
更新时间 2007/8/24

无许可证

A variation of Matlab's cart2sph, that transforms a vector of Cartesian coordinates (East, North, Up) to radar coordinates (Range, Azimuth, Elevation). 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: [...] = xyz2rae(x,y,z)
input format #2: [...] = xyz2rae(xyz)
output format #1: [range, azimuth, elevation] = xyz2rae(...)
output format #2: rae = xyz2rae(...)

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

Use the corresponding rae2xyz function for the reverse transformation.

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

引用格式

Yair Altman (2024). xyz2rae (https://www.mathworks.com/matlabcentral/fileexchange/16085-xyz2rae), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R12
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

added sanity checks; handled 2D data