View License

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

» Watch video

Highlights from
A MATLAB Script for Predicting Equinoxes and Solstices

  • atan3four quadrant inverse tangent
  • brentsolve for a single real root of a nonlinear equation
  • esfunc(x)equinox/solstice objective function
  • findleap(jdate)find number of leap seconds for utc julian date
  • gdateconvert Julian date to Gregorian (calendar) date
  • jd2str(jdate)convert Julian date to string equivalent
  • jdfuncobjective function for tdb2utc
  • julianJulian date
  • r2rrevolutions to radians function
  • readleapread leap seconds data file
  • sun2precision ephemeris of the Sun
  • tdb2utcconvert TDB julian date to UTC julian date
  • utc2tdbconvert UTC julian date to TDB julian date
  • equsol.m
  • View all files

A MATLAB Script for Predicting Equinoxes and Solstices


David Eagle (view profile)


Predict the calendar date & UTC time of the equinoxes and solstices for a user-defined calendar year


Contact us