HelioFromPlanetInit:

Path: Orbit/Interplanetary

% Initialize a heliocentric orbit from a planet centered orbit.

   xP is in the ECI planet centered frame.

   Type HelioFromPlanetInit for a demo of an equatorial 7000 km circular
   earth orbit.

   This only works with the planets (including Pluto).

   Since version 2014.1
--------------------------------------------------------------------------
   Forms:
   xH = HelioFromPlanetInit( planet, xP, jD )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   name    (1,1)   Planet name
   xP      (6,1)   State in the planet centered ECI frame
   jD      (1,1)   Julian date      

   -------
   Outputs
   -------
   xH      (6,1)   State in the heliocentric frame

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

Children:

Common: Database/Constant
Common: Time/Date2JD
Common: Time/JD2T
SC: Ephem/CEcl2Eq
SC: Ephem/Planets
SC: Ephem/SolarSys

Back to the Orbit Module page