QLatLon:

Path: AerospaceUtils/Coord

% Generate the quaternions that transform from ECI to a lat/long frame
 defined by
 z is in the direction pointing to [latitude, longitude]
 y is in the - rxv direction
 x completes the set
--------------------------------------------------------------------------
   Form:
   q = QLatLon( lat, lon, r, v, q, f, a )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   lat        (1,n) Latitude
   lon        (1,n) Longitude
   r          (3,n) Position vectors
   v          (3,n) Velocity vectors
   q          (4,n) Quaternion from ECI to EF
   f          (1,1) Flattening factor
   a          (1,1) Equatorial radius

   -------
   Outputs
   -------
   q          (4,n) Quaternions

--------------------------------------------------------------------------

Children:

AerospaceUtils: Coord/LatLonToR
Common: Database/Constant
Common: Graphics/Plot2D
Common: Quaternion/Mat2Q
Common: Quaternion/QTForm
Math: Linear/Cross
Math: Linear/Unit

Back to the AerospaceUtils Module page