Calculate sunrise and sunset time

25 visualizaciones (últimos 30 días)
JEREMIE
JEREMIE el 18 de Jul. de 2012
Respondida: Meysam Mahooti el 24 de Sept. de 2019
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,

Respuestas (3)

JEREMIE
JEREMIE el 18 de Jul. de 2012
toolbox suncycle.m seems to do that...
  1 comentario
Star Strider
Star Strider el 18 de Jul. de 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:

Iniciar sesión para comentar.


Meysam Mahooti
Meysam Mahooti el 24 de Sept. de 2019

Tobias Piechowiak
Tobias Piechowiak el 16 de Sept. de 2015
Editada: Tobias Piechowiak el 16 de Sept. de 2015
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

Categorías

Más información sobre Geodesy and Mapping en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by