We can estimate the time of sunrise and sunset for any location on the earth if we know the latitude, and longitude for that location. To estimate sunrise and sunset for any day of the year we need to calculate two values for a given date and place -- the equation of time and the hour angle.
This live script illustrates the technique used to estimate sunrise and sunset times.
Zitieren als
David Garrison (2024). Sunrise/Sunset (https://www.mathworks.com/matlabcentral/fileexchange/55509-sunrise-sunset), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Sciences > Physics > Gravitation, Cosmology & Astrophysics >
- Sciences > Earth, Ocean, and Atmospheric Sciences > Earth and Planetary Science >
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.1 | Updated calculations and added mat file with timezone data |
||
1.0.0.1 | Updated license |
||
1.0.0.0 | New thumbnail
|