ECIToSunEarthRot:

Path: Orbit/OrbitCoord

% Convert ECI to Sun Earth rotating coordinates about the barycenter.
   The coordinate frame is +x pointing at the Earth along
   the Sun-Earth line. +z normal to the Sun-Earth (ecliptic) plane
   and +y completing the set. 
   
   Computes the plane by looking at the sun vector at jD(k) and then 1 day 
   later. By default, "SunV1" is used to get the sun vector. If a second
   argument is entered, the JPL ephemerides are used.

   Type ECIToSunEarthRot for a demo.

   Since version 11.
-------------------------------------------------------------------------------
   Form:
   m = ECIToSunEarthRot( jD, JPL )
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   jD             (1,:)      Julian date (days)
   JPL            (1,1)      Optional. Enter this input (any value) to use
                             the JPL ephemerides. Otherwise, SunV1 is used.
   -------
   Outputs
   -------
   m              {:}        Rotation matrices
   z              (3,:)      Rotation axes

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

Children:

AC: ACData/ACTConstants
Orbit: OrbitCoord/BarycenterEarthMoon
SC: BasicOrbit/RVFromKepler
SC: Ephem/CEcl2Eq
SC: Ephem/InterpolateState
SC: Ephem/MoonV1
SC: Ephem/PlanetPosJPL
SC: Ephem/SunV1
SC: SCData/bin2000
SC: SCData/sCTConstants
Common: CommonData/Constants
Common: CommonData/SwooshWatermark
Common: CommonData/xSplashSmall
Common: Database/Constant
Common: General/CellToMat
Common: General/DeBlankLT
Common: General/DeleteCell
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/Plot3D
Common: Graphics/PltStyle
Common: Graphics/TimeLabl
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Time/DTSToDTA
Common: Time/Date2JD
Common: Time/JD2000
Math: Linear/Cross
Math: Linear/Mag
Math: Linear/Unit
Math: Trigonometry/CosD
Math: Trigonometry/SinD

Back to the Orbit Module page