<< CL_ex_secularJ2 Trajectory and maneuvers CL_man_consumption >>

CelestLab >> Trajectory and maneuvers > CL_man_applyDvKep

CL_man_applyDvKep

Effect of maneuver on orbital elements

Calling Sequence

kep_dv = CL_man_applyDvKep(kep,dv [,dv_frame,mu])

Description

Parameters

kep :

Initial (osculating) Keplerian elements [m,rad] (6xN)

dv :

Velocity increment (in cartesian coordinates) in the local frame [m/s] (3xN)

dv_frame :

Local frame in which dv is defined. Default is "qsw"

mu :

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

kep_dv :

(osculating) Keplerian elements with the effect of the maneuver included [m,rad] (6xN)

Authors

See also

Examples

// Manoeuvre : 7200km to 7000km :
ai = 7200.e3;
af = 7000.e3;
[deltav,dv1,dv2,anv1,anv2] = CL_man_dvHohmann(ai,af);

// Check results:
// NB: here, true anomaly = mean anomaly
kep = [ai ; 0 ; %pi/2 ; 0 ; 0 ; anv1];
kep1 = CL_man_applyDvKep(kep,dv1,dv_frame="qsw");
kep1(6) = anv2;
kep2 = CL_man_applyDvKep(kep1,dv2,dv_frame="qsw")

Report an issue
<< CL_ex_secularJ2 Trajectory and maneuvers CL_man_consumption >>