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.
David Eagle (2020). A MATLAB Script for Predicting Orbital Events of the Moon (https://www.mathworks.com/matlabcentral/fileexchange/39946-a-matlab-script-for-predicting-orbital-events-of-the-moon), MATLAB Central File Exchange. Retrieved .
Added additional orbital events to the script. Updated the PDF document to reflect these changes.