Path: Orbit/RHSOrbit
% Computes the right hand side for Earth gravity with J2. Since version 2014. -------------------------------------------------------------------------- Form: xDot = RHSGeoHarm( x, t, d ) -------------------------------------------------------------------------- ------ Inputs ------ x (6,1) Position vector [rECI (km); vECI (km)]; t (1,1) Time since start Julian Date (s) d (1,1) Highest sectorial and tesseral harmonic .j2 (1,1) J2 term .mu (1,1) Spherical gravitational potential .a (1,1) Planet radius .jD0 (1,1) Start Julian Date ------- Outputs ------- xDot (6,1) [rDot;vDot] --------------------------------------------------------------------------
AerospaceUtils: Coord/ECIToEF Common: Time/JD2T
Back to the Orbit Module page