Path: Orbit/Visualization
% Plot a Lambert transfer trajectory as computed by DVTarget
Plot the initial and final trajectories and the transfer trajectory.
Labels the plot with the total delta-V.
--------------------------------------------------------------------------
Form:
PlotLambertTransfer(r1,v1,r2,v2,dT,dV,elT,mu)
--------------------------------------------------------------------------
------
Inputs
------
r1 (3,1) Position of spacecraft 1 (km)
v1 (3,1) Velocity of spacecraft 1 (km/s)
r2 (3,1) Position of spacecraft 2
v2 (3,1) Velocity of spacecraft 2
dT (1) Transfer time (s)
dV (:) Struct of delta-Vs
.total (1,1) Total delta-V
elT (1,6) Transfer elements
mu (1) Gravitional parameter, default is Earth
-------
Outputs
-------
None.
--------------------------------------------------------------------------
Orbit: OrbitMechanics/RVOrbGen SC: BasicOrbit/RV2El SC: BasicOrbit/RVFromKepler Common: Database/Constant Common: Graphics/Plot3D
Back to the Orbit Module page