Path: SpacecraftEstimation/DemoFuns
% Point mass gravity model. -------------------------------------------------------------------------- Form: d = RHSEarthOrbitUKF; xDot = RHSEarthOrbitUKF( x, t, d ) -------------------------------------------------------------------------- ------ Inputs ------ x (6,1) State vector [r;v] t (1,1) Time (unused) d (.) Data structure .mu (1,1) Gravitational constant (default earth) .a (3,1) Acceleration vector in ECI Frame ------- Outputs ------- x (6,1) State vector derivative d[r;v]/dt --------------------------------------------------------------------------
Math: Linear/Mag
Back to the SpacecraftEstimation Module page