No BSD License  

Highlights from
xyz2rae

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 3.86 KB File ID: #16085

xyz2rae

by Yair Altman

 

24 Aug 2007 (Updated 24 Aug 2007)

Transform Cartesian coordinates (East, North, Up) to radar coordinates (Range, Azimuth, Elevation)

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 6.0 (R12)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
24 Aug 2007

added sanity checks; handled 2D data

Tag Activity for this File
Tag Applied By Date/Time
aerospace Yair Altman 22 Oct 2008 09:24:24
aeronautics Yair Altman 22 Oct 2008 09:24:24
aerodef Yair Altman 22 Oct 2008 09:24:24
cartesian Yair Altman 22 Oct 2008 09:24:24
coordinates Yair Altman 22 Oct 2008 09:24:24
elevation Yair Altman 22 Oct 2008 09:24:24
range Yair Altman 22 Oct 2008 09:24:24
azimuth Yair Altman 22 Oct 2008 09:24:24
radar Yair Altman 22 Oct 2008 09:24:24
elevation alain 19 Feb 2010 11:28:36

Contact us at files@mathworks.com