PlanetOpposition:

Path: Orbit/Interplanetary

% Compute Julian Dates for times when two planets are closest.

   Oppositions for Mars and Earth

   2012 Mar  3 20:04 
   2014 Apr  8 20:57
   2016 May 22 11:11
   2018 Jul 27 05:07
   2020 Oct 13 23:20

   Type PlanetOpposition for a demo recreating this table. This function
   utilizes the almanac functions Planet and SolarSys. Note that the dates
   are off by 17 days due to the ephemeris errors.

   Since version 2014.1
--------------------------------------------------------------------------
   Form:
   c = PlanetOpposition( planets, jDStart, n )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   planets	[1,2]  Planet numbers
   jDStart (1,1)  Julian date of start (Julian Days)
   n       (1,1)  Number of oppositions

   -------
   Outputs
   -------
   c       (1,:)  Oppositions (Julian Days)

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

Children:

AC: ACData/ACTConstants
Orbit: OrbitMechanics/SynPer
SC: BasicOrbit/E2Nu
SC: BasicOrbit/M2E
SC: BasicOrbit/M2EApp
SC: BasicOrbit/M2EEl
SC: BasicOrbit/M2EHy
SC: BasicOrbit/M2Nu
SC: BasicOrbit/M2NuPb
SC: BasicOrbit/Period
SC: Ephem/Planets
SC: Ephem/SolarSys
SC: SCData/sCTConstants
Common: CommonData/Constants
Common: CommonData/SwooshWatermark
Common: CommonData/xSplashSmall
Common: Database/Constant
Common: General/CellToMat
Common: General/DeBlankLT
Common: General/DeleteCell
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/TextS
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Time/DTAToDTS
Common: Time/DTSToDTA
Common: Time/Date2JD
Common: Time/JD2Date
Common: Time/JD2T
Common: Time/JDToDateString
Math: Linear/DupVect
Math: Linear/Unit
Math: MathUtils/R2P5

Back to the Orbit Module page