Convert Cartesian (ECEF) Coordinates to lat, lon, alt
by Michael Kleder
28 Jun 2005
(Updated 27 Apr 2006)
Convert earth-centered, earth-fixed (ECEF) coordinates to latitude, longitude, and altitude.
|
Watch this File
|
| File Information |
| Description |
ECEF2LLA - convert earth-centered earth-fixed (ECEF) cartesian coordinates to latitude, longitude, and altitude.
USAGE:
[lat,lon,alt] = ecef2lla(x,y,z)
lat = geodetic latitude (radians)
lon = longitude (radians)
alt = height above WGS84 ellipsoid (m)
x = ECEF X-coordinate (m)
y = ECEF Y-coordinate (m)
z = ECEF Z-coordinate (m)
Notes: This function assumes the WGS84 model. Latitude is customary geodetic (not geocentric).
Michael Kleder, April 2006 |
| MATLAB release |
MATLAB 7.0.1 (R14SP1)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (20) |
| 26 Aug 2005 |
Yunus Levent Ekinci
|
|
|
| 13 Sep 2005 |
Jim Gottwald
|
|
|
| 23 Sep 2005 |
Dave Shell
|
|
|
| 01 Dec 2005 |
Molly Kerr
|
|
|
| 05 Dec 2005 |
Jacq Mihof
|
|
|
| 18 Dec 2005 |
Glen Davidson
|
|
|
| 27 Dec 2005 |
The Author
|
|
|
| 07 Feb 2006 |
Jacq Mihof
|
|
|
| 24 May 2006 |
Paul Connelly
|
|
|
| 23 Feb 2007 |
imran rao
|
|
|
| 19 Mar 2007 |
John Lansberry
|
|
|
| 08 Apr 2007 |
Sajan Mushini
|
|
|
| 04 Oct 2007 |
mafalda sapo
|
|
|
| 06 Nov 2007 |
P. McNamara
|
|
|
| 03 Apr 2008 |
b d
|
|
|
| 30 Apr 2008 |
zalmay amiri
|
|
|
| 11 May 2008 |
is fa
|
|
|
| 06 Aug 2008 |
peter pansen
|
|
|
| 25 Aug 2009 |
Ramon Nogueron
|
|
|
| 07 Oct 2009 |
as ss
|
|
|
| Updates |
| 26 Apr 2006 |
Corrected a numerical instability near exact poles; now accurate to about 2 millimeters. |
| 27 Apr 2006 |
Vectorized the recent precision enhancement. |
|
Contact us at files@mathworks.com