<< CL_tle_format Trajectory and maneuvers CL_tle_getBalCoef >>

CelestLab >> Trajectory and maneuvers > CL_tle_genEphem

CL_tle_genEphem

Ephemeris generation from TLEs (SGP4/SDP4 propagation)

Calling Sequence

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

Description

Parameters

tle:

TLE structure (size 1 or N)

cjd:

Propagation date (modified julian days from 1950.0, TREF time scale except if frame == "native") (1xN or 1x1)

frame:

Output frame, 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)

pos:

Osculating position vector relative to the specified frame [m] (3xN)

vel:

Osculating velocity vector relative to the specified frame [m/s] (3xN)

Authors

See also

Examples

str = [..
"1 00005U 58002B   00179.78495062  .00000023  00000-0  28098-4 0  4753"; ..
"2 00005  34.2682 348.7242 1859667 331.7664  19.3264 10.82419157413667" ];
tle = CL_tle_parse(str);
cjd = round(tle.epoch_cjd) : round(tle.epoch_cjd)+5; // TREF
[pos, vel] = CL_tle_genEphem(tle, cjd) // ECI

Report an issue
<< CL_tle_format Trajectory and maneuvers CL_tle_getBalCoef >>