File Exchange

image thumbnail

Equinoxes and Solstices

version 1.2 (3.14 KB) by

compute the dates of equinoxes and solstices

1 Download

Updated

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 http://home.tele2.it/cardillo
My profile on XING http://www.xing.com/go/invita/13675097
My profile on LinkedIN http://it.linkedin.com/in/giuseppecardillo

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.

http://aa.usno.navy.mil/data/docs/EarthSeasons.php

Updates

1.2

Changes in description

1.1

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