A MATLAB Script for Predicting Transits of Mercury and Venus
Version 22.214.171.124 (15.4 MB) by David Eagle
Local circumstances of solar transits of the planets Mercury and Venus.
Updated 1 Feb 2022
PDF document and a MATLAB script named transit.m which can be used to predict the local circumstances of transits of Mercury and Venus across the Sun. This software provides the universal times and topocentric coordinates of the Sun at the beginning (ingress - exterior contact) and end (egress - exterior contact) of the solar transit, and the time and coordinates at least distance. 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.
David Eagle (2023). A MATLAB Script for Predicting Transits of Mercury and Venus (https://www.mathworks.com/matlabcentral/fileexchange/39355-a-matlab-script-for-predicting-transits-of-mercury-and-venus), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform CompatibilityWindows macOS Linux
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.