A MATLAB Script for Predicting Lunar Occultations

Predict the local circumstances of lunar occultations of a planet or star.
484 Downloads
Updated 1 Feb 2022

View License

PDF document and a MATLAB script named loccult.m that can be used to predict the local circumstances of lunar occultations of a planet or star. The source ephemeris for this routine is a JPL binary ephemeris file. 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). JPL binary ephemeris files for Windows compatible computers can be downloaded at www.cdeagle.com.

Cite As

David Eagle (2024). A MATLAB Script for Predicting Lunar Occultations (https://www.mathworks.com/matlabcentral/fileexchange/39357-a-matlab-script-for-predicting-lunar-occultations), 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
1.2.0.0

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

1.1.0.0

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

1.0.0.0