Name

CL_kp_M2Egene — Solution of generalized kepler's equation (ex, ey, M to E)

Calling Sequence

   E = CL_kp_M2Egene(ex,ey,M)
   
   

Description

  • This function computes eccentric anomaly E from mean anomaly M, solving generalized Kepler's equation. (given the eccentricity vector components ex and ey)
  • Last update : 24/05/2007

Parameters

ex:

x component of eccentricity vector (1xN)

ey:

y component of eccentricity vector (1xN)

M:

mean anomaly [rad] (1xN)

E:

eccentric anomaly [rad] (1xN)

Authors

CNES - DCT/SB

Bibliography

1 CNES - MSLIB FORTRAN 90, Volume V (mv_kepler_gene)

See also

CL_kp_M2E

Examples

kep = [7078.e3 ; 0.001 ; 0.001 ; %pi/8 ; 0.1 ; 3*%pi/8];
[pos_car,vel_car] = CL_oe_kep2car(kep);
cir = CL_oe_car2cir(pos_car,vel_car);
ex = cir(2);
ey = cir(3);
E = CL_kp_M2Egene(ex,ey,3*%pi/8)

// Now using CL_kp_M2E :
E = CL_kp_M2E(0.001,3*%pi/8) // results slightly differ because convergence criteria is not the same.