PlanetPositionEMBarycenter:

Path: SC/Ephem

% The position vectors, gravitational parameters and velocity for the planets.
 The frame is centered on the Earth-Moon Barycenter and the plane is
 ecliptic, i.e. xy-plane is the mean earth's orbital plane. d cannot 
 be empty on initialize.

 Type PlanetPositionEMBarycenter for a demo

--------------------------------------------------------------------------
   Form:
   [rB,vB,mu] = PlanetPositionEMBarycenter( action, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   action	(1,:) 'initialize' or 'update'
   d      	(1,n) Julian date (days) for 'update' or  planet ids (1-9) 
                   for initialize

   -------
   Outputs
   -------
   rB      (3,n) Planetary position vectors
   vB    	(3,n) Velocity vectors
   mu     	(1,n) Corresponding gravitational parameters

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

Children:

SC: Ephem/CEcl2Eq
SC: Ephem/InterpolateState
SC: Ephem/PlanetPosJPL
SC: SCData/bin2000
Common: Time/DTSToDTA
Common: Time/Date2JD
Common: Time/JD2000

Back to the SC Module page