Code covered by the BSD License  

Highlights from
A MATLAB Script for Predicting Transits of Mercury and Venus

  • aberatthis function corrects position vector for aberration of light.
  • anglesthis function converts a vector to angular quantities
  • applan1this function computes the apparent geocentric or topocentric place
  • atan3four quadrant inverse tangent
  • brentsolve for a single real root of a nonlinear equation
  • brootbracket a single root of a nonlinear equation
  • deg2dmsconvert decimal degrees to degrees,
  • esfunc(x)equinox/solstice objective function
  • etilt1this function computes quantities related to the orientation
  • findleap(jdate)find number of leap seconds for utc julian date
  • funargthis subroutine computes fundamental arguments (mean elements)
  • gast2this function computes the greenwich sidereal time
  • gdateconvert Julian date to Gregorian (calendar) date
  • geocenthis function moves the origin of coordinates from the
  • getdateinteractive request and input of calendar date
  • getobsinteractive request of observer coordinates
  • hrs2hmsconvert decimal hours to hours,
  • jd2str(jdate)convert Julian date to string equivalent
  • jplephemreads the jpl planetary ephemeris and gives
  • julianJulian date
  • minimaone-dimensional minimization
  • nutate1this function nutates equatorial rectangular coordinates from
  • precessthis function precesses equatorial rectangular coordinates from
  • readleapread leap seconds data file
  • solsyspurpose
  • sunfldthis function corrects position vector for the deflection
  • tdtimesthis function computes the terrestrial time (tt)
  • terrathis functions computes the position and velocity vectors of
  • traeventpredict transit events
  • tranfunc(x)transit objective function
  • tranprt(iflag, jdutc)print transit conditions
  • utc2tdbconvert UTC julian date to TDB julian date
  • utc2tdtconvert UTC julian date to TDT julian date
  • transit.m
  • equsol.m
  • View all files

A MATLAB Script for Predicting Transits of Mercury and Venus

by

David Eagle (view profile)

 

07 Dec 2012 (Updated )

Local circumstances of solar transits of the planets Mercury and Venus.

nutate1

Contact us