Calculate sunrise and sunset time
Afficher commentaires plus anciens
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,
Réponses (3)
JEREMIE
le 18 Juil 2012
1 vote
1 commentaire
Star Strider
le 18 Juil 2012
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
le 24 Sep 2019
1 vote
Tobias Piechowiak
le 16 Sep 2015
Modifié(e) : Tobias Piechowiak
le 16 Sep 2015
0 votes
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
Catégories
En savoir plus sur Earth and Planetary Science dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!