Sunrise Sunset

버전 3.0.0 (94.7 MB) 작성자: Meysam Mahooti
Rising and setting times of the Sun and the Moon and twilight times
다운로드 수: 786
업데이트 날짜: 2023/9/24

라이선스 보기

Year, month, day, lambda (Geographic east longitude of the observer in [deg]), phi (Geographic latitude of the observer in [deg]), zone (local time - universal time in [hour]) and twilight (Indicates civil, nautical or astronomical twilight) are received, then rising and setting times of the Moon and the Sun and twilight times are computed.
In this version, the positions of the Sun and the Moon are computed using Jet Propulsion Laboratory Development Ephemeris (DE440). Moreover, Earth orientation parameters are not used. So, MJD_ET is utilized as an approximation of MJD_TT and MJD_TDB in SinAlt.m, and MJD_UTC is applied instead of MJD_UT1.
east longitude and latitude of the observer can be found at:
References:
Montenbruck O., Pfleger T.; Astronomy on the Personal Computer; Springer Verlag, Heidelberg; 4th edition (2000).

인용 양식

Meysam Mahooti (2024). Sunrise Sunset (https://www.mathworks.com/matlabcentral/fileexchange/60157-sunrise-sunset), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2021b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
3.0.0

finddays.m and ETminUT.m were added and SinAlt.m was modified.

2.2.2

Quad.m was modified.

2.2.1

test_SunriseSunset.m, SinAlt.m, Mjday.m, and invjday.m were modified, and JPL DE430 was replaced with JPL DE440.

2.1.1.0

The DE430 full matrix is added.

2.1.0.0

Description, references and JPL_Eph_DE430.m are updated. Moreover, DE430Coeff.mat full matrix is now available in the following link:
https://www.researchgate.net/publication/331821512_JPL_Planetary_and_Lunar_Ephemerides_DE430_full_MATLAB_matrix

2.0.0.0

Accuracy is improved by modification of SinAlt.m.

1.1.0.0

DE405 (planetary and lunar ephemerides) is replaced by DE430.

1.0.0.0

Revised on 2016-11-28.
Description is updated.
SinAlt.m is updated.
Revised on 2017-02-25.
Revised on November 09, 2016.