PDF document and a MATLAB script named levents.m that can be used to compute important orbital events of the Moon. The motion of the Moon is modeled using the JPL DE421 binary ephemeris and this script uses routines from the MICE software suite to read and evaluate this ephemeris. MICE is a MATLAB implementation of the SPICE library created by JPL.
Using a combination of one-dimensional minimization and root-finding, the levents MATLAB script computes geocentric characteristics of the Moon’s orbital motion including apogee and perigee of the lunar orbit, minimum and maximum declination and orbital eccentricity, user-defined right ascension, declination and true anomaly, and nodal crossings.
Added additional orbital events to the script. Updated the PDF document to reflect these changes.