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
JEREMIE 2012 年 7 月 18 日

1 投票

toolbox suncycle.m seems to do that...

1 件のコメント

Star Strider
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:

サインインしてコメントする。

Tobias Piechowiak
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 ExchangeEarth and Planetary Science についてさらに検索

質問済み:

2012 年 7 月 18 日

回答済み:

2019 年 9 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by