<< CL_tle_setElem Trajectory and maneuvers Utilities >>

CelestLab >> Trajectory and maneuvers > CL_tle_update

CL_tle_update

Update TLE orbital state

Calling Sequence

tle2 = CL_tle_update(tle, cjd, pos, vel [, frame, ut1_tref, tt_tref])

Description

Parameters

tle:

TLE structure (size N)

cjd:

TLE epoch (modified Julian days from 1950.0, TREF time scale except if frame == "native") (1xN)

pos:

Osculating position vector in specified frame (3xN)

vel:

Osculating velocity vector relative to specified frame (3xN)

frame:

Frame for position and velocity, see above for details. Default is "ECI".

ut1_tref:

(optional) UT1-TREF [seconds]. Default is %CL_UT1_TREF (1xN or 1x1)

tt_tref:

(optional) TT-TREF [seconds]. Default is %CL_TT_TREF. (1xN or 1x1)

Authors

See also

Examples

tle = CL_tle_new();
cjd = CL_dat_cal2cjd(2013,1,1); // TREF
pos_eci = [7000.e3; 0; 0];
vel_eci = [0; 7000; 0];
tle = CL_tle_update(tle, cjd, pos_eci, vel_eci);
// Check result
[pos, vel] = CL_tle_genEphem(tle, cjd)

Report an issue
<< CL_tle_setElem Trajectory and maneuvers Utilities >>