### Highlights from A MATLAB Script for Predicting Lunar Occultations

• 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
• apstar1this subroutine computes the geocentric or topocentric apparent place
• brentsolve for a single real root of a nonlinear equation
• brootbracket a single root of a nonlinear equation
• deg2dmsconvert decimal degrees to degrees,
• 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
• occeventpredict occultation events
• occfunc(x)occultation objective function
• occprint(iflag, jdutc)print occultation conditions
• precessthis function precesses equatorial rectangular coordinates from
• propmothis function applies proper motion, including
• 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
• utc2tdtconvert UTC julian date to TDT julian date
• vectrsthis function converts angular quantities to vectors
• loccult.m
• View all files

# A MATLAB Script for Predicting Lunar Occultations

### David Eagle (view profile)

07 Dec 2012 (Updated )

Predict the local circumstances of lunar occultations of a planet or star.

lunar_occult.zip
```aberat.m
altair.dat
angles.m
applan1.m
apstar1.m
atan3.m
brent.m
broot.m
deg2dms.m
etilt1.m
findleap.m
funarg.m
gast2.m
gdate.m
geocen.m
getdate.m
getobs.m
hrs2hms.m
jd2str.m
jplephem.m
julian.m
loccult.m
lunar_occult.pdf
lunar_occult_mice.zip
minima.m
nutate1.m
occevent.m
occfunc.m
occprint.m
precess.m
propmo.m
regulus.dat
solsys.m
spica.dat
sunfld.m
tai-utc.dat
tdtimes.m
terra.m
utc2tdt.m
vectrs.m
```