SolarSysJPL:

Path: SC/Ephem

% Computes the position vectors of the planets as a function of time.
   If no outputs are given will plot the positions of the input planets.
   If no inputs are given it will compute the vectors for the entire
   solar system. Comparable to SolarSys. The default XY plane is Earth Mean
   Equator and Equinox of Reference Epoch (Earth equatorial). The origin is the
   center of the sun. Will create a plot when called without outputs.
   See also PlanetPosJPL.
--------------------------------------------------------------------------
   Form:
   [rx0, ry0, rz0, vx, vy, vz] = SolarSysJPL( id, jD, ecl )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   id          (n,1)   Numeric ID of planet(s)
   jD          (m,1)   Julian dates
   ecl         (1,1)   Flag for ecliptic plane instead of equatorial

   -------
   Outputs
   -------
   rx0           (n,m)   x component,  one row per planet (au)
   ry0           (n,m)   y component,  one row per planet (au) 
   rz0           (n,m)   z component,  one row per planet (au) 
   vx            (n,m)   vx component, one row per planet (km/s) 
   vy            (n,m)   vy component, one row per planet (km/s) 
   vz            (n,m)   vz component, one row per planet (km/s)  
 
                    n is the number of planets

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

Children:

SC: Ephem/CEcl2Eq
SC: Ephem/InterpolateState
Common: Database/Constant
Common: Graphics/NewFig
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Time/Date2JD

Back to the SC Module page