资源简介
matlab开发-xyz2rae。将笛卡尔坐标(东、北、上)转换为雷达坐标(距离、方位角、仰角)
代码片段和文件信息
function [range azimuth elevation] = xyz2rae(xyz y z)
% xyz2rae - Transforms cartesian coordinates (XYZ = EastNorthUp) to radar coords RAzEl
% input format #1: [...] = xyz2rae(x y z)
% input format #2: [...] = xyz2rae(xyz)
% output format #1: [range azimuth elevation] = xyz2rae(...)
% output format #2: rae = xyz2rae(...)
%
% Inputs:
% Format #1:
% x - see definition in help for cart2sph; positive x = East
% y - see definition in help for cart2sph; positive y = North
% z - see definition in help for cart2sph; positive z = Up
%
% Format #2:
% xyz - same as format #1 with all 3 values/vector bunched together in a vector/matrix
%
% Outputs:
% Format #1:
% range - sqrt(x^2 + y^2 + z^2)
% azimuth
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3957 2018-07-11 20:16 xyz2rae.m
- 上一篇:matlab开发-pplot
- 下一篇:matlab开发-一幅图像的噪声估计
评论
共有 条评论