<< CL_oe_cir2car Coordinates and frames CL_oe_cireq2car >>

CelestLab >> Coordinates and frames > CL_oe_cir2kep

CL_oe_cir2kep

Circular adapted to Keplerian orbital elements

Calling Sequence

[kep,jacob] = CL_oe_cir2kep(cir)

Description

Parameters

cir:

Orbital elements adapted to near-circular orbits [sma;ex;ey;inc;raan;alpha] [m,rad] (6xN)

kep:

Keplerian orbital elements [sma;ecc;inc;pom;raan;anm] [m,rad] (6xN)

jacob:

(optional) Transformation jacobian (See Orbital elements for more details) (6x6xN)

Authors

See also

Examples

// // Example 1
cir = [7000.e3; 1e-4; 1e-4; 1; 2; %pi/2];
kep = CL_oe_cir2kep(cir);

// Example 2
cir = [7000.e3; 1e-4; 1e-4; 1; 2; %pi/2];
[kep,jacob1] = CL_oe_cir2kep(cir);
[cir2,jacob2] = CL_oe_kep2cir(kep);
cir2 - cir // zero
jacob2 * jacob1 // identity

Report an issue
<< CL_oe_cir2car Coordinates and frames CL_oe_cireq2car >>