SolarSysState:

Path: Interplanetary/Ephemeris

% Computes planet heliocentric states for a range of dates.
 The data structure is from Planets. 
--------------------------------------------------------------------------
   Form:
   x = SolarSysState( d, jD )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   d   (.)      Data structure
                .iv      (n,2)   Inclination wrt ecliptic plane     (rad)
                .Wv      (n,2)   Longitude of ascending node wrt vernal equinox  (rad)
                .wv      (n,2)   Argument of perhelion      (rad)
                .av      (n,2)   Mean distance (au)
                .ev      (n,2)   Eccentricity
                .Lv      (n,3)   Mean longitude (rad)
                .name    (n,:)   Name of planet
                .jdref   (1,1)   Reference Julian date
                .T       (1,:)   Julian centuries from J2000.0   (centuries)
   jD (1,:)     Julian date

   -------
   Outputs
   -------
   x  (6,:,:)   [state,date,planet]

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

Children:

SC: Ephem/SolarSys
Common: Time/JD2T

Back to the Interplanetary Module page