Path: AerospaceUtils/Coord
% Convert an earth fixed position vector to [latitude;longitude;altitude]
Altitude is the distance above the subsatellite point. Assumes an
ellipsoidal planet.
--------------------------------------------------------------------------
Form:
x = EFToLatLonAlt( r, f, a, tol )
--------------------------------------------------------------------------
------
Inputs
------
r (3,:) Vectors
f (1,1) Flattening factor*
a (1,1) Equatorial radius*
tol (1,1) Tolerance*
* optional
-------
Outputs
-------
x (3,:) [lat (rad); lon (rad); altitude]
--------------------------------------------------------------------------
Reference: Vallado, D. A. (1999) Fundamentals of Astrodynamics and
Applications. pp. 204-205.
--------------------------------------------------------------------------
AerospaceUtils: Coord/ECIToEF Common: Time/JD2T Math: Linear/Mag Math: Linear/Unit
Back to the AerospaceUtils Module page