A MATLAB Script for Predicting Lunar Eclipses

Predicting the local circumstances of lunar eclipses.
633 Downloads
Updated 31 Jan 2022

View License

PDF document and MATLAB script named leclipse.m that can be used to predict local circumstances of lunar eclipses. This software provides the eclipse type, the universal times and topocentric coordinates of the Moon at the beginning and end of the penumbra contacts, and the time and coordinates at maximum eclipse. The source ephemeris for this routine is a JPL DE430 ephemeris file which is valid from 1849 DEC 26 until 2150 JAN 22. This application uses several functions ported to MATLAB from the Fortran version of the NOVAS (Naval Observatory Vector Astrometry Subroutines) source code developed at the United States Naval Observatory (www.usno.navy.mil/USNO/astronomical-applications/software-products/novas).

Cite As

David Eagle (2024). A MATLAB Script for Predicting Lunar Eclipses (https://www.mathworks.com/matlabcentral/fileexchange/39344-a-matlab-script-for-predicting-lunar-eclipses), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Gravitation, Cosmology & Astrophysics in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Updated to use DE430 ephemeris (included in zip file) and MICE/NOVAS routines.

1.1.0.0

Added MICE version of this script in the lunar_eclipse_mice.zip archive.

1.0.0.0