Solar Eclipse
Version 2.1.1 (24,7 KB) von
Meysam Mahooti
Prediction of solar eclipse and its duration using the time of new moon
test_Eclipse.m calculates the central line of a solar eclipse and the duration of the total or annular phases, starting with the date of the next New Moon.
The core of the program is the Intersect function, in which the intersection of the axis of the shadow with the surface of the Earth is determined from the geocentric coordinates of the Sun and the Moon. In addition, the diameters of the two shadow cones near the Earth are calculated, from which the respective phases of the eclipse are determined. The Central function converts the equatorial coordinates of the umbra provided by Intersect into geographic coordinates, and also determines the duration of totality.
test_Eclipse.m requires step size of outputs and the date of new moon which is highlighted with letter "c" in moon phases results at the following link:
Moreover, test_EclTimer (as an extension to the test_Eclipse.m) enables the local circumstances of an eclipse to be calculated for any given point which is accessible here:
References:
Montenbruck O., Pfleger T.; Astronomy on the Personal Computer; Springer Verlag, Heidelberg; 4th edition (2000).
Zitieren als
Meysam Mahooti (2025). Solar Eclipse (https://de.mathworks.com/matlabcentral/fileexchange/55279-solar-eclipse), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2024b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Sciences > Physics > Gravitation, Cosmology & Astrophysics >
- Sciences > Geoscience > Earth and Planetary Science >
Mehr zu Gravitation, Cosmology & Astrophysics finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Solar Eclipse_2.1.1
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 2.1.1 | ETminUT.m was modified. |
||
| 2.1.0 | MoonEqu.m and SunEqu.m were modified. |
||
| 2.0.1 | Mjday.m, invjday.m, and ETminUT.m were modified. |
||
| 2.0.0.0 | Ast_Const.m is called once to decrease CPU time. |
||
| 1.1.1.2 | Description is updated. |
||
| 1.1.1.1 | Summary is updated. |
||
| 1.1.1.0 | injday.m and Mjday.m are updated. |
||
| 1.1.0.0 | The image is added.
|
||
| 1.0.0.0 | Description is updated. |
