Path: Interplanetary/Ephemeris
% 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
--------------------------------------------------------------------------
Interplanetary: Ephemeris/PlanetPosJPL Common: Time/JD2000
Back to the Interplanetary Module page