Delta V required to change the semi-major axis
[dv,anv] = CL_man_sma(ai,ei,af [,posman,mu])
Computes the delta-v required to change the semi major axis.
The maneuver consists in modifying the periapsis or apoapsis radius only, and only one maneuver is performed: at periapsis or at apoapsis.
The output argument dv is the delta-V required expressed in spherical coordinates in the QSW frame: [lambda; phi; |dv|], where lambda is the in-plane angle (+%pi: towards planet and +%pi/2: ~along velocity), phi is the out-of-plane angle, positive towards the angular momentum vector (the angular momentum vector is perpendicular to the orbit plane and oriented according to right hand convention), dv is the norm of the velocity increment.
anv is the true anomaly at the position of maneuver.
Initial semi major axis [m] (1xN)
Initial eccentricity (1xN)
Final semi major axis [m] (1xN)
(optional) flag specifying the position of maneuver (0->periapsis, 1->apoapsis; default is 0) (1xN)
(optional) Gravitational constant. [m^3/s^2] (default value is %CL_mu)
Delta_v in spherical coordinates in the QSW frame [lambda;phi;|dv|] [rad,rad,m/s] (3xN)
True anomaly at the position of maneuver [rad] (1xN)
CNES - DCT/SB