File Exchange

image thumbnail

Equinoxes and Solstices

version 1.2 (3.14 KB) by

compute the dates of equinoxes and solstices

1 Download


View License

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.

You can visit my homepage
My profile on XING
My profile on LinkedIN

Comments and Ratings (1)

Jeff Burkey

Jeff Burkey (view profile)

Great function! While the level of accuracy does not affect my needs, you may want to let others know if they are in need to to the minute or second, may want to validate the results. Comparing this functions results to the US Naval Observatory, the results differ by approximately 1-minute. I'm guessing this is an artifact of matlab and complier precision. Anything dealing with astronomy and floating point precision becomes significant.



Changes in description


Changes in help section

Help line correction

MATLAB Release
MATLAB 7.3 (R2006b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video