Moon Phases for all years

Determination of lunar phases and checking for eclipses have been done. The Moon and the Sun positions are computed analytically.


Updated Sat, 08 Oct 2022 12:34:34 +0000

View License

Input: year and local time-UT[h]
Output: phases of the Moon and time of lunar eclipses are specified.
Montenbruck O., Pfleger T., "Astronomy on the Personal Computer," Springer Verlag, Heidelberg, 4th edition (2000).
Meeus J., "Astronomical Algorithms," Willmann-Bell, Richmond, Virginia, 2nd edition (1998).

Cite As

Meysam Mahooti (2023). Moon Phases for all years (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes