Rise and Set of the Sun, Moon and Planets

version (15.4 MB) by David Eagle
Topocentric rise and set of the Sun, Moon and planets. Source ephemeris is DE421 with MICE and NOVAS routines.


Updated Tue, 01 Feb 2022 11:14:33 +0000

View License

PDF document and MATLAB script named riseset.m that can be used to determine rise and set conditions of the Sun, Moon and planets. This software uses a combination of one-dimensional minimization and root-finding to predict visibility. 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).
Also uses several support files from the JPL MICE software suite.

Cite As

David Eagle (2022). Rise and Set of the Sun, Moon and Planets (https://www.mathworks.com/matlabcentral/fileexchange/39326-rise-and-set-of-the-sun-moon-and-planets), 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!