A MATLAB Script for Predicting Equinoxes and Solstices
Version 1.0.1.0 (369 KB) von
David Eagle
Predict the calendar date & UTC time of the equinoxes and solstices for a user-defined calendar year
PDF document and a MATLAB script named equsol.m which determines the time of the equinoxes and solstices of the Earth. These events are the times when the apparent geocentric longitude of the Sun is an exact multiple of 90 degrees. This script uses Brent’s root-finder and a precision solar ephemeris to calculate these events.
Brent’s method requires an objective function that defines the nonlinear equation to be solved. The objective function for the spring and fall equinoxes is the geocentric declination of the Sun. The spring and fall equinoxes occur whenever the geocentric declination of the Sun is less than or equal to a user-defined convergence criterion.
Zitieren als
David Eagle (2024). A MATLAB Script for Predicting Equinoxes and Solstices (https://www.mathworks.com/matlabcentral/fileexchange/39356-a-matlab-script-for-predicting-equinoxes-and-solstices), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2011a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Language Fundamentals > Data Types > Dates and Time >
- MATLAB > Language Fundamentals > Data Types > Dates and Time > Calendar >
Mehr zu Dates and Time 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.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.1.0 | Added calculations for the geographic coordinates of the subpoint of the sun at the time of each equinox and solstice. |
||
1.0.0.0 |