EarthRot:

Path: SC/Ephem

% Computes the Earth greenwich matrix that transforms from ECI to EF.
   Any input of eOfECalc will cause it to include the equation of the 
   equinoxes.

   Type EarthRot for a demo.

--------------------------------------------------------------------------
   Form:
   [g, gMST, gAST] = EarthRot( T, eOfECalc )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   T           (1,1) Julian centuries of 86400s dynamical time from j2000.0
   eOfECalc    (1,1) Calculate the equation of the equinoxes

   -------
   Outputs
   -------
   g           (3,3) Greenwich matrix
   gMST        (1,1) Greenwich mean sidereal time (deg)
   gAST        (1,1) Greenwich apparent sidereal time (deg)

--------------------------------------------------------------------------
   See also: GMSTime, EOfE, JD2T
--------------------------------------------------------------------------
   References:	Seidelmann, P. K., The Explanatory Supplement to the 
               Astronomical Almanac,  University Science Books, 1992, p. 20.
--------------------------------------------------------------------------

Children:

Common: Time/Date2JD
Common: Time/JD2T
SC: Ephem/EOfE
SC: Ephem/GMSTime

Back to the SC Module page