편집자 메모: This file was selected as MATLAB Central Pick of the Week
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 [h]), and twilight (Indicates civil, nautical or astronomical twilight) are received, then rising and setting times of the Sun and the Moon and twilight times are computed.
The positions of the Sun and the Moon are computed using Jet Propulsion Laboratory Development Ephemeris (DE440).
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).
Vallado D. A.; Fundamentals of Astrodynamics and Applications; McGraw-Hill, New York; 4th edition (2013).
인용 양식
Meysam Mahooti (2025). Sunrise Sunset (https://www.mathworks.com/matlabcentral/fileexchange/55312-sunrise-sunset), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2021b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Dates and Time에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Sunrise Sunset
버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
2.2.0 | test_SunriseSunset.m was modified. |
||
2.1.1 | Quad.m was modified. |
||
2.1.0 | test_SunriseSunset.m, SinAlt.m, Mjday.m, and invjday.m were modified, and JPL DE430 was replaced with JPL DE440. |
||
2.0.0.0 | test_Sunset.m is modified |
||
1.1.1.1 | The DE430 full matrix is added. |
||
1.1.1.0 | Revised on March 17, 2020. |
||
1.1.0.0 | The image is added. |