<< CL_oe_cir2car Coordinates and frames CL_oe_convert >>

CelestLab >> Coordinates and frames > CL_oe_cir2kep

CL_oe_cir2kep

Circular 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;gom;pso] [m,rad] (6xN)

kep:

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

jacob:

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

Authors

See also

Examples

// // Example 1
cir = [7000.e3; 0.1; 0.2; 1; 2; 3];
kep = CL_oe_cir2kep(cir);

// Example 2
cir = [7000.e3; 0.1; 0.2; 1; 2; 3];
[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_convert >>