Path: Interplanetary/Ephemeris
% Compute Julian Dates for times when two planets are closest with almanac.
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.
--------------------------------------------------------------------------
Form:
PlanetOpposition; % demo
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)
--------------------------------------------------------------------------
See also Planets, SolarSys
--------------------------------------------------------------------------
Orbit: OrbitMechanics/Period Orbit: OrbitMechanics/SynPer SC: Ephem/Planets SC: Ephem/SolarSys Common: Database/Constant Common: Time/Date2JD Common: Time/JD2T Common: Time/JDToDateString Math: Linear/Unit
Back to the Interplanetary Module page