Predicting Orbital Events of the Moon
Version 1.3.0.0 (109 MB) by
David Eagle
A MATLAB script named lunar_events that can be used to compute important orbital events of the Moon's motion.
This submission is a MATLAB script named lunar_events that can be used to compute important orbital events of the Moon’s geocentric motion. The motion of the Moon is modeled using the JPL DE430 binary ephemeris (de430.bsp). This script also uses routines from the MICE software suite to read and evaluate this ephemeris.
The MICE routines and other ephemeris files are available at naif.jpl.nasa.gov/naif/toolkit_MATLAB.html. MICE is a MATLAB implementation of the SPICE library created by JPL.
Using a combination of one-dimensional minimization and root-finding, the lunar_events MATLAB script computes the following geocentric characteristics of the Moon’s orbital motion.
- apogee and perigee
- minimum and maximum geocentric declination
- user-defined geocentric right ascension
- user-defined geocentric declination
- user-defined true anomaly
- minimum and maximum orbital eccentricity
- nodal crossings
Script options 1, 2, and 6 are minimum and maximum conditions of the lunar orbit. The nodal crossings correspond to times when the ascending or descending Moon crosses the Earth’s equatorial plane.
Cite As
David Eagle (2025). Predicting Orbital Events of the Moon (https://www.mathworks.com/matlabcentral/fileexchange/39946-predicting-orbital-events-of-the-moon), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > External Language Interfaces > Other languages > SPICE files >
- Sciences > Physics > Gravitation, Cosmology & Astrophysics >
Find more on SPICE files in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.