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 eccliptic, i.e. xy-plane is the mean earth's orbital plane. -------------------------------------------------------------------------- Form: [r, mu, v] = 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 ------- r (3,n) Planetary position vectors v (3,n) Velocity vectors mu (1,n) Corresponding gravitational parameters --------------------------------------------------------------------------
SC: Ephem/PlanetPosJPL
Back to the SC Module page