Code covered by the BSD License  

Highlights from
Rise and Set of the Sun, Moon and Planets

Be the first to rate this file! 7 Downloads (last 30 days) File Size: 484 KB File ID: #39326

Rise and Set of the Sun, Moon and Planets


David Eagle


05 Dec 2012 (Updated )

Topocentric rise and set of the Sun, Moon and planets. Source ephemeris is DE421 with NOVAS routines

| Watch this File

File Information

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 ( JPL binary ephemeris files for Windows compatible computers can be downloaded at

MATLAB release MATLAB 7.12 (R2011a)
Other requirements Requires platform specific version of MICE mex file and the de421.bsp binary ephemeris file. Both are available at
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
04 Feb 2013

A MICE version of this script can be found in the archive.

Contact us