CRTBPLinearSystem:

Path: Orbit/ThreeBody

% Compute linear system matrix for the circular restricted 3 body problem
 
   x = [r; v]

   M = [ 0     I;
         ddU   K]

   so that
 
   xDot = M*x

   which is:

   rDot = v
   vDot = ddU*r + K*v 
   
   Type CRTBPLinarSystem for a demo.

   Since version 11.
--------------------------------------------------------------------------
   Form:
   M = CRTBPLinearSystem( x, mu )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x         (6,1)   Position and velocity in CRTBP system [r; v]
   mu        (1,1)   Mass parameter

   -------
   Outputs
   -------
   M         (6,6)   Linear system state space matrix

--------------------------------------------------------------------------

Back to the Orbit Module page