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.
引用格式
David Garrison (2024). Sunrise/Sunset (https://www.mathworks.com/matlabcentral/fileexchange/55509-sunrise-sunset), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2020a
与 R2019a 及更高版本兼容
平台兼容性
Windows macOS Linux类别
- Sciences > Physics > Gravitation, Cosmology & Astrophysics >
- Sciences > Geoscience > Earth and Planetary Science >
在 Help Center 和 MATLAB Answers 中查找有关 Gravitation, Cosmology & Astrophysics 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!