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.
Citar como
David Garrison (2025). Sunrise/Sunset (https://www.mathworks.com/matlabcentral/fileexchange/55509-sunrise-sunset), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2020a
Compatible con cualquier versión desde R2019a
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Sciences > Physics > Gravitation, Cosmology & Astrophysics >
- Sciences > Geoscience > Earth and Planetary Science >
Más información sobre Gravitation, Cosmology & Astrophysics en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.