lla2flat
Convert from geodetic latitude, longitude, and altitude to flat Earth position
Syntax
Description
estimates an array of flat Earth coordinates, flatearth_pos
= lla2flat(lla
,llo
,psio
,href
)flatearth_pos
, from an
array of geodetic coordinates, lla
. This function estimates the
flatearth_pos
value with respect to a reference location that you
define with llo
, psio
, and
href
.
estimates the coordinates for a specific ellipsoid planet.flatearth_pos
= lla2flat(lla
,llo
,psio
,href
,ellipsoidModel
)
estimates the coordinates for a custom ellipsoid planet defined by
flatearth_pos
= lla2flat(lla
,llo
,psio
,href
,flattening
,equatorialRadius
)flattening
and equatorialRadius
.
Examples
Input Arguments
Output Arguments
Tips
This function assumes that the flight path and bank angle are zero.
This function assumes that the flat Earth
z
-axis is normal to the Earth only at the initial geodetic latitude and longitude. This function has higher accuracy over small distances from the initial geodetic latitude and longitude. It also has higher accuracy at distances closer to the equator. The function calculates a longitude with higher accuracy when the variations in latitude are smaller. Additionally, longitude is singular at the poles.
Algorithms
The function begins by finding the small changes in latitude and longitude from the output latitude and longitude minus the initial latitude and longitude:
To convert geodetic latitude and longitude to the north and east coordinates, the function uses the radius of curvature in the prime vertical (RN) and the radius of curvature in the meridian (RM). RN and RM are defined by the following relationships:
where (R) is the equatorial radius of the planet and is the flattening of the planet.
Small changes in the north (dN) and east (dE) positions are approximated from small changes in the north and east positions by
With the conversion of the North and East coordinates to the flat Earth x and y coordinates, the transformation has the form of
where ψ is the angle in degrees clockwise between the x-axis and north.
The flat Earth z-axis value is the negative altitude minus the reference height (href):
References
[1] Etkin, B., Dynamics of Atmospheric Flight. New York: John Wiley & Sons, 1972.
Version History
Introduced in R2011a