Calculate sunrise and sunset time
显示 更早的评论
Hi all,
I wish to know if it's possible to calculate sunrise and sunset time using one date/time and geographical position ? Maybe a toolbox already exists ?
Thanks,
回答(3 个)
JEREMIE
2012-7-18
1 个投票
1 个评论
Star Strider
2012-7-18
After I searched for and found that script, I discovered that Scripps Institute of Oceanography has a large collection of MATLAB files and toolboxes:
Meysam Mahooti
2019-9-24
1 个投票
Tobias Piechowiak
2015-9-16
编辑:Tobias Piechowiak
2015-9-16
0 个投票
The connection between hour angle H, latitude phi and declination of sun delta is: cos(H) = -tan(phi)*tan(delta). delta can be approximated by: delta = sin(T)*23.5 where T is time from 21th, March or 23rd, September in days. Gives good enough results +- 20 min when you assume that H is 0 deg at noon.
Greetings
类别
在 帮助中心 和 File Exchange 中查找有关 Earth and Planetary Science 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!