### Highlights from A MATLAB Script for Time and Coordinate Calculations

• brentsolve for a single real root of a nonlinear equation
• coe2eqoe(coe)convert classical orbital elements to
• coe2mee(mu, coe)convert classical orbital elements to modified equinoctial orbital elements
• ecf2eciecf-to-eci transformation
• eci2ecfeci-to-ecf transformation
• eci2fpc1(gast, reci, veci)convert inertial state vector to flight path coordinates
• eci2mee(mu, reci, veci)convert eci state vector to
• eci2orb1convert eci state vector to six classical orbital
• eci2orb2convert eci state vector to complete set of classical orbital elements
• eqxrathis function computes the intermediate right ascension
• erotthis function returns the value of the earth rotation angle
• etilt1this function computes quantities related to the orientation
• findleap(jdate)find number of leap seconds for utc julian date
• fpc2ecftransform relative flight path coordinates
• fpc2eci(gst, fpc)convert relative flight path coordinates to inertial state vector
• funargthis function computes fundamental arguments (mean elements)
• gast2this function computes the greenwich sidereal time
• gast4this function computes the greenwich sidereal time
• gdateconvert Julian date to Gregorian (calendar) date
• geodet1geodetic latitude and altitude
• geodet4geodetic to geocentric coordinates
• get_tdb_timeinteractive request and input of Barycentric Dynamical Time
• get_utc_timeinteractive request and input of universal coordinated time
• getdateinteractive request and input of calendar date
• getoe(ioev)interactive request of classical orbital elements
• getsvinteractive request of state vector
• gettimeinteractive request and input of universal time
• hrs2hmsconvert decimal hours to hours,
• jd2str(jdate)convert Julian date to string equivalent
• jdfunctionobjective function for tdb2utc
• julianJulian date
• kepler1solve Kepler's equation for circular,
• lla2eciconvert geodetic altitude, latitude and longitude to eci position vector
• mee2coe(mee)convert modified equinoctial elements to classical orbit elements
• nod(jdate)this function evaluates the nutation series and returns the
• nut2000bnutation based on iau 2000b theory
• obliq(t)function to compute mean obliquity of the ecliptic in arcseconds
• oeprint1(mu, oev, ittype)print six classical orbital elements
• oeprint3(mu, oev, ittype)print complete set of orbital elements
• om_constantsastrodynamic and utility constants
• orb2eci(mu, oev)convert classical orbital elements to eci state vector
• orb2hyper(oev)this function converts classical orbital elements
• osc2meanconvert osculating classical orbital elements
• rv2fpctransform from cartesian coordinates
• rv2hyperconvert position and velocity vectors to
• rv2tle(reci, veci)convert osculating position and velocity vectors
• svprint(r, v)print position and velocity vectors and magnitudes
• tdb2utcconvert TDB julian date to UTC julian date
• times_novasthis function computes the terrestrial time (tt) julian date
• utc2tdbconvert UTC julian date to TDB julian date
• utc2ttconvert UTC julian date to TT julian date
• csystems.m
• elong2ra.m
• View all files

# A MATLAB Script for Time and Coordinate Calculations

### David Eagle (view profile)

Interactive MATLAB script that can be used to perform time and coordinate calculations.

csystems.zip
```atan3.m
brent.m
coe2eqoe.m
coe2mee.m
csystems.m
csystems.pdf
ecf2eci.m
eci2ecf.m
eci2fpc1.m
eci2mee.m
eci2orb1.m
eci2orb2.m
ecidata1.dat
ecidata2.dat
ecidata3.dat
elong2ra.m
eqxra.m
erot.m
etilt1.m
findleap.m
fpc2ecf.m
fpc2eci.m
fpcdata1.dat
funarg.m
gast2.m
gast4.m
gdate.m
geodata1.dat
geodet1.m
geodet4.m
getdate.m
getoe.m
getsv.m
gettime.m
get_tdb_time.m
get_utc_time.m
hrs2hms.m
jd2str.m
jdfunction.m
julian.m
kepler1.m
lla2eci.m
mee2coe.m
meedata1.dat
nod.m
nut2000b.m
obliq.m
oedata1.dat
oedata2.dat
oeprint1.m
oeprint3.m
om_constants.m
orb2eci.m
orb2hyper.m
osc2mean.m
rv2fpc.m
rv2hyper.m
rv2tle.m
rv2tle1.dat
svprint.m
tai-utc.dat
tdb2utc.m
times_novas.m
utc2tdb.m
utc2tt.m
```