Code covered by the BSD License  

Highlights from
Equinoxes and Solstices

5.0

5.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 3.14 KB File ID: #17977

Equinoxes and Solstices

by Giuseppe Cardillo

 

12 Dec 2007 (Updated 23 Dec 2009)

compute the dates of equinoxes and solstices

| Watch this File

File Information
Description

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

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Geodetic Toolbox
This submission has inspired the following:
Aggregate timeseries data to solstices and equinoxes.

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
01 Jun 2009 Jeff Burkey

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

Please login to add a comment or rating.
Updates
17 Dec 2007

Help line correction

24 Sep 2008

Improvement in input error handling

12 Nov 2008

Changes in help section

23 Dec 2009

Changes in description

Tag Activity for this File
Tag Applied By Date/Time
clock Giuseppe Cardillo 22 Oct 2008 09:39:06
fun Giuseppe Cardillo 22 Oct 2008 09:39:06
equinox solstice Giuseppe Cardillo 22 Oct 2008 09:39:06
dates Giuseppe Cardillo 22 Oct 2008 09:39:06
equinoxes Giuseppe Cardillo 22 Oct 2008 09:39:06
solstices Giuseppe Cardillo 22 Oct 2008 09:39:06
utilities Giuseppe Cardillo 22 Oct 2008 09:39:06
meeus Giuseppe Cardillo 22 Oct 2008 09:39:06
utilities Cristina McIntire 12 Nov 2008 14:04:54
dates Cristina McIntire 12 Nov 2008 14:04:54
clock Cristina McIntire 12 Nov 2008 14:04:54
solstices Cristina McIntire 12 Nov 2008 14:04:54
equinoxes Cristina McIntire 12 Nov 2008 14:04:54

Contact us at files@mathworks.com