<< CL_ex_mean2osc Trajectory and maneuvers CL_ex_propagate >>

CelestLab >> Trajectory and maneuvers > CL_ex_osc2mean

CL_ex_osc2mean

Osculating to mean orbital elements (all analytical models)

Calling Sequence

mean_oe = CL_ex_osc2mean(mod, type_oe, osc_oe [, er, mu, j1jn])

Description

Parameters

mod:

(string) Model name: "central", "j2sec", "lydsec", "lydlp", "eckhech". (1x1)

type_oe:

(string) Type of orbital elements used for input/output: "kep", "cir", "cireq" or "equin" (1x1)

osc_oe:

Osculating orbital elements (6xN)

er:

(optional) Equatorial radius [m]. Default is %CL_eqRad

mu:

(optional) Gravitational constant [m^3/s^2]. Default is %CL_mu

j1jn:

(optional) Vector of zonal harmonics. Default is %CL_j1jn (Nz x 1)

mean_oe:

Mean orbital elements (6xN)

Authors

See also

Examples

mean_kep = [7.e6; 1.e-3; 1; %pi/2; 0.1; 0.2]
osc_kep = CL_ex_mean2osc("eckhech", "kep", mean_kep)
CL_ex_osc2mean("eckhech", "kep", osc_kep) // => mean_kep

Report an issue
<< CL_ex_mean2osc Trajectory and maneuvers CL_ex_propagate >>