<< CL_man_dvSmaT Trajectory and maneuvers CL_man_lambert2 >>

CelestLab >> Trajectory and maneuvers > CL_man_lambert

CL_man_lambert

Lambert's problem

Calling Sequence

[vel1,vel2] = CL_man_lambert(pos1,pos2,delta_t [, direction ,mu])

Description

Parameters

pos1 :

Initial position vector [m] (3xN or 3x1)

pos2 :

Final position vector [m] (3xN or 3x1)

delta_t :

Time of flight from pos1 to pos2 [s] (1xN or 1x1)

direction :

(string, optional) 'pro' if the transfer orbit is prograde, 'retro' if the transfer orbit is retrograde (default is 'pro')

mu :

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

vel1 :

Initial velocity vector [m/s] (3xN)

vel2 :

Final velocity vector [m/s] (3xN)

Authors

Bibliography

Examples

dt = 1000; // seconds
kep1 = [7000.e3; 0.1; 1; 0; 0; 0];
kep2 = CL_ex_kepler(0, kep1, dt/86400);
[pos1, vel1] = CL_oe_kep2car(kep1);
[pos2, vel2] = CL_oe_kep2car(kep2);
[vel1b, vel2b] = CL_man_lambert(pos1, pos2, dt);
CL_norm(vel1-vel1b) + CL_norm(vel2-vel2b)

Report an issue
<< CL_man_dvSmaT Trajectory and maneuvers CL_man_lambert2 >>