Equinoxes and Solstices

版本 2.0.0.0 (14.2 KB) 作者: Giuseppe Cardillo
compute the dates of equinoxes and solstices
2.8K 次下载
更新时间 2021/1/4

EQNSOL computes the date of equinoxes and solstices for the input year. This is based upon the formulas given by Jean Meeus in his "Astronomical Algorithms". The date is computed in Julian Date. This function take in JD2CAL function of "Geodetic Toolbox" by Mike Craymer (ID:15285) to convert Julian Date into gregorian calendar date.
Syntax: Y=EQNSOL(YEAR,VERBOSE)

Inputs:
YEAR (default=current Year).
VERBOSE (default=1)
Outputs:
- Y=datenum formatted array.

EQ=EQNSOL(...) will stores dates in Matlab format

Example:

y=eqnsol(2007)

All dates and times are referred to GMT without DST
Spring Equinox 21-Mar-2007 00:08:28
Summer Solstice 21-Jun-2007 18:07:12
Autumn Equinox 23-Sep-2007 09:52:05
Winter Solstice 22-Dec-2007 06:08:51

Created by Giuseppe Cardillo
giuseppe.cardillo-edta@poste.it

To cite this file, this would be an appropriate format: Cardillo G. (2007) Equinoxes and Solstices: compute the date and time of equinoxes and solstices. http://www.mathworks.com/matlabcentral/fileexchange/17977

引用格式

Giuseppe Cardillo (2024). Equinoxes and Solstices (https://github.com/dnafinder/eqnsol), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dates and Time 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
2.0.0.0

inputparser and github link

1.2.0.0

Changes in description

1.1.0.0

Changes in help section

1.0.0.0

Improvement in input error handling

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库