Propagating Trajectories from the Earth to the Moon

Integrate n-body trajectories from the Earth to the Moon. Includes non-spherical Earth gravity.


Updated 20 Jan 2022

View License

PDF document and a MATLAB script called pprop_lunar that can be used to numerically integrate the geocentric orbital equations of motion of a trajectory from the Earth to the Moon. This scientific simulation begins at a user-defined epoch and geocentric state vector (position and velocity vectors) representing the point of trans-lunar injection (TLI) and ends at (1) closest approach to the Moon, (2) a user-defined Moon-centered (selenocentric) distance, or (3) at a user-defined final epoch.

Cite As

David Eagle (2023). Propagating Trajectories from the Earth to the Moon (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Input in true-of-date coordinates. Updated to use JPL *.bsp ephemeris and MICE routines. PDF document updated.

Includes new option to model the effect of the Moon on the trajectory using non-spherical lunar gravity.