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:

SC: Ephem/EOfE
SC: Ephem/GMSTime
SC: Ephem/MSidDay
SC: Ephem/NutDelta
SC: Ephem/ObOfE
Common: Time/DTSToDTA
Common: Time/Date2JD
Common: Time/JD2000
Common: Time/JD2T
Common: Time/JDToMidnight
Math: MathUtils/R2P5
Math: Trigonometry/CosD
Math: Trigonometry/SinD

Back to the SC Module page