Moon Phases

Determination of lunar phases and checking for eclipses

877 Downloads

Updated Mon, 03 Oct 2022 09:44:04 +0000

View License

Input: year and local time-UT[h]
Output: phases of the Moon and time of lunar eclipses are specified.
References:
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 (https://www.mathworks.com/matlabcentral/fileexchange/55270-moon-phases), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
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!
Version Published Release Notes
2.1.1

It was revised on 2022-10-02.

2.1.0.0

The DE436 full matrix is added.

2.0.0.0

ETminUT.m is updated to cover more years considering you are using DE430Coeff.mat full matrix from https://www.researchgate.net/publication/331821512_JPL_Planetary_and_Lunar_Ephemerides_DE430_full_MATLAB_matrix

1.1.0.0

ETminUT.m is revised and JPL Development Ephemeris (DE430) are used for computation of the Sun and the Moon positions in PhasesFunc.m.

1.0.0.0

Revised on 2017-03-05.
The image is added.