Path: Orbit/OrbitCoord
% Converts equinoctial elements to r and v for an elliptic orbit. Since version 1. -------------------------------------------------------------------------- Form: [r, v] = Eq2RV( eq, tol, mu ) -------------------------------------------------------------------------- ------ Inputs ------ eq (6,:) Elements vector [a,P1,P2,Q1,Q2,l] tol Tolerance for Kepler's equation solver mu Gravitational constant ------- Outputs ------- r (3,1) position vector v (3,1) velocity vector -------------------------------------------------------------------------- References: Battin, R.H., An Introduction to the Methods and Mathematics of Astrodynamics, AIAA, New York, 1987, pp. 493-494. --------------------------------------------------------------------------
Orbit: OrbitCoord/CEq2C Orbit: OrbitCoord/K2L Orbit: OrbitCoord/ML2K
Back to the Orbit Module page