<< CL_fr_topoNMat Coordinates and frames CL_oe_car2cirEqua >>

CelestLab >> Coordinates and frames > CL_oe_car2cir

CL_oe_car2cir

Cartesian to circular adapted orbital elements

Calling Sequence

[cir[,jacob]]=CL_oe_car2cir(pos_car,vel_car[,mu])

Description

Parameters

pos_car:

position [X;Y;Z] [m] (3xN)

vel_car:

velocity [Vx;Vy;Vz] [m/s] (3xN)

mu :

(optional) gravitational constant [m^3/s^2] (default value is %CL_mu)

cir:

orbital elements adapted to near-circular orbits [sma;ex;ey;inc;raan;pom+anm] [m,rad] (6xN)

jacob:

(optional) transformation jacobian d(X,Y,Z,Vx,Vy,Vz)/d(sma,ex,ey,inc,raan,pom+anm) (6x6xN)

Bibliography

Authors

See also

Examples

// Example 1
pos_car=[-5910180;4077714;-620640];
vel_car=[129;-1286;-7325];
[cir,jacob1] = CL_oe_car2cir(pos_car,vel_car);
[pos_car2,vel_car2,jacob2] = CL_oe_cir2car(cir);
<< CL_fr_topoNMat Coordinates and frames CL_oe_car2cirEqua >>