LatLonAltToEF:

Path: AerospaceUtils/Coord

% Convert [latitude;longitude;altitude] to an earth fixed position vector.
 Altitude is the distance above the subsatellite point. Assumes an
 ellipsoidal planet.

 Type LatLonAltToEF for a demo.
--------------------------------------------------------------------------
   Form:
   r = LatLonAltToEF( x, f, a )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x         (3,:)   [lat (rad); lon (rad); altitude (km)]
   f         (1,1)   Flattening factor
   a         (1,1)   Equatorial radius
   tol       (1,1)   Tolerance

   -------
   Outputs
   -------
   r         (3,:)   Vectors

--------------------------------------------------------------------------
   Reference: Escobal, P. Methods of Orbit Determination.
--------------------------------------------------------------------------

Children:

AC: ACData/ACTConstants
SC: SCData/sCTConstants
Common: CommonData/Constants
Common: CommonData/xSplashSmall
Common: Database/Constant
Common: General/DeleteCell

Back to the AerospaceUtils Module page