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.
Citation pour cette source
David Garrison (2026). Sunrise/Sunset (https://fr.mathworks.com/matlabcentral/fileexchange/55509-sunrise-sunset), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Sciences > Physics > Gravitation, Cosmology & Astrophysics >
- Sciences > Geoscience > Earth and Planetary Science >
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1 | Updated calculations and added mat file with timezone data |
||
| 1.0.0.1 | Updated license |
||
| 1.0.0.0 | New thumbnail
|
