<< CL_op_orbGapLofMat Orbit properties CL_op_repeat2smaInc >>

celestlab >> Orbit properties > CL_op_paramsJ2

CL_op_paramsJ2

Orbit properties depending on J2 (mean motion, period, nodal period, ...)

Calling Sequence

[par1, par2, ...] = CL_op_paramsJ2(type_output, sma, ecc, inc [[, er, mu, j2, rotr_pla]])

Description

Parameters

type_output :

Name(s) of the quantities to be computed. Possible names are: "mm", "per", "nodper", "lgap". (1xNoutput)

sma:

Semi-major axis. [m] (1xN)

ecc:

Eccentricity. (1xN)

inc:

Inclination. [rad] (1xN)

er:

(optional) Equatorial radius. Default: %CL_eqRad. [m] (1x1)

mu:

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

j2:

(optional) Second zonal harmonic (unnormalized). Default: %CL_j1jn(2). [-] (1x1)

rotr_pla:

(optional) Body rotation rate. Default: %CL_rotrBody. [rad/s] (1x1)

par:

Mean motion, period, nodal period or longitude gap between 2 ground tracks. [rad/s, s, s, rad] (1xN)

Authors

See also

Examples

// Longitude gap between 2 consecutive ground tracks :
sma = 7078.e3 ;
ecc = 0.001 ;
inc = CL_deg2rad(98);
[lgap] = CL_op_paramsJ2("lgap", sma, ecc, inc)

// Mean motion and nodal period
sma = 7078.e3 ;
ecc = 0.001 ;
inc = CL_deg2rad(98);
[mm, nodper] = CL_op_paramsJ2(["mm", "nodper"], sma, ecc, inc)

Report an issue
<< CL_op_orbGapLofMat Orbit properties CL_op_repeat2smaInc >>