Covert lat, lon, alt to ECEF Cartesian
No License
LLA2ECEF - convert latitude, longitude, and altitude to earth-centered, earth-fixed (ECEF) cartesian coordinates
USAGE:
[x,y,z] = lla2ecef(lat,lon,alt)
x = ECEF X-coordinate (m)
y = ECEF Y-coordinate (m)
z = ECEF Z-coordinate (m)
lat = geodetic latitude (radians)
lon = longitude (radians)
alt = height above WGS84 ellipsoid (m)
Notes: This function assumes the WGS84 model. Latitude is customary geodetic (not geocentric).
Source: "Department of Defense World Geodetic System 1984," Page 4-4. National Imagery and Mapping Agency. NIMA TR8350.2
Michael Kleder, July 2005
Cite As
Michael Kleder (2024). Covert lat, lon, alt to ECEF Cartesian (https://www.mathworks.com/matlabcentral/fileexchange/7942-covert-lat-lon-alt-to-ecef-cartesian), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Earth, Ocean, and Atmospheric Sciences >
- Aerospace > Aerospace Toolbox > Standard Workflow Procedures > Coordinate Systems >
- Aerospace > Aerospace Toolbox > Standard Workflow Procedures > Unit Conversions >
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 |