Path: Orbit/OrbitMechanics
% Calculates orbital elements and perigee radius for a planetary flyby. Since version 2. -------------------------------------------------------------------------- Form: [el, rP] = Flyby( vA, vD, vP, muP ) -------------------------------------------------------------------------- ------ Inputs ------ vA (3,1) Approach velocity of the spacecraft vD (3,1) Departure velocity of the spacecraft vP (3,1) Velocity of the planet muP (1,1) Gravitational parameter of the encountered planet ------- Outputs ------- el (:) Elements in the planet frame el.a, el.i, el.w, el.W, el.e, el.M rP (1,1) Radius of perigee --------------------------------------------------------------------------
Math: Linear/Cross Math: Linear/Mag Orbit: OrbitMechanics/RVOrbGen
Back to the Orbit Module page