image thumbnail

Apparent Coordinates of the Moon, Sun or a Planet

version 1.2.0.0 (232 KB) by David Eagle
MATLAB script that can be used to compute the apparent coordinates of the Moon, Sun or a planet.

801 Downloads

Updated 31 Jan 2013

View License

PDF document and a MATLAB function named aplanet1.m, and a demonstration script, named demo_aplanet1.m that can be used to determine the apparent geocentric and topocentric coordinates of the Moon, Sun or a planet. The source ephemeris for this routine is a JPL binary ephemeris file. These applications use 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 from the Celestial and Orbital Mechanics web site located at www.cdeagle.com.

Cite As

David Eagle (2021). Apparent Coordinates of the Moon, Sun or a Planet (https://www.mathworks.com/matlabcentral/fileexchange/39232-apparent-coordinates-of-the-moon-sun-or-a-planet), MATLAB Central File Exchange. Retrieved .

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