image thumbnail

A MATLAB Script for Predicting Solar Eclipses

version 1.2.0.0 (645 KB) by David Eagle
Predict local circumstances of solar eclipses.

949 Downloads

Updated 02 Apr 2019

View License

PDF document and a MATLAB script named seclipse.m that can be used to predict local circumstances of solar eclipses. This computer program provides the universal times and topocentric coordinates of the Sun and 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 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 http://celestialandorbitalmechanicswebsite.yolasite.com/.

Cite As

David Eagle (2021). A MATLAB Script for Predicting Solar Eclipses (https://www.mathworks.com/matlabcentral/fileexchange/39358-a-matlab-script-for-predicting-solar-eclipses), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
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!