Moon Phases
Version 2.1.0 (93.7 MB) by
Meysam Mahooti
Determination of lunar phases and checking for eclipses
Inputs: year and local time-UTC [h]
Outputs: phases of the Moon and time of lunar and solar eclipses
Refer to LunarEclipseFlag.m and SolarEclipseFlag.m to identify eclipse types corresponding to various letters.
References:
Montenbruck O., Pfleger T., "Astronomy on the Personal Computer," Springer Verlag, Heidelberg, 4th edition (2000).
Cite As
Meysam Mahooti (2026). Moon Phases (https://in.mathworks.com/matlabcentral/fileexchange/118770-moon-phases), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Moon Phases
Moon Phases for all years
| Version | Published | Release Notes | |
|---|---|---|---|
| 2.1.0 | ETminUT.m, LunarEclipseFlag.m, and SolarEclipseFlag.m were modified. |
||
| 2.0.0 | It was revised on 2023-05-17. |
||
| 1.1.1 | test_MoonPhases.m was modified. |
||
| 1.1.0 | test_Phases.m was modified. |
||
| 1.0.1 | test_Phases.m and SunPos.m were modified. |
||
| 1.0.0 |
