Moon Phases

Determination of lunar phases and checking for eclipses

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/118770-moon-phases), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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