HelioFromPlanetInit:

Path: Interplanetary/InterplanetaryOrbit

% 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). It uses the
 low-fidelity almanac functions.
--------------------------------------------------------------------------
   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

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