--------------------------------------------------------------------------- RHS for planar equations. --------------------------------------------------------------------------- Form: xDot = RHSMinTOrbitInjection( x, t, beta, g, a ) --------------------------------------------------------------------------- ------ Inputs ------ x (4,1)[x;y;vX;vY] beta (1,1) Thrust vector angle from horizontal (rad) g (1,1) Graviational acceleration. a (1,1) Acceleration ------- Outputs ------- xDot (4,1) State derivative ---------------------------------------------------------------------------