Lambert's problem
[vel1,vel2] = CL_man_lambert(pos1,pos2,delta_t [, direction ,mu])
This function solves Lambert's problem in the case the transfer consists in less than one revolution.
It Computes the velocity vectors vel1 and vel2, given the position vectors pos1 and pos2, the time of flight delta_t, and the direction of motion direction.
Initial position vector [m] (3xN or 3x1)
Final position vector [m] (3xN or 3x1)
Time of flight from pos1 to pos2 [s] (1xN or 1x1)
(string, optional) 'pro' if the transfer orbit is prograde, 'retro' if the transfer orbit is retrograde (default is 'pro')
(optional) Gravitational constant. Default is %CL_mu [m^3/s^2]
Initial velocity vector [m/s] (3xN)
Final velocity vector [m/s] (3xN)
CNES - DCT/SB
1) Orbital Mechanics for Engineering Students, H.D. Curtis, Section 5.3 and Appendix D.11 (algorithm 5.2)
2) Modern astrodynamics Fundamentals and perturbation methods, V Bond and M Allman, Chapter 6.2