FRotatingFrame:

--------------------------------------------------------------------------
   Three-body dynamics in the rotating frame with a solar sail.
   The frame's origin is the barycenter of the frame. The x-axis is
   positive from the barycenter to m1 and the distance between the bodies
   is 1.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   sDot = FRotatingFrame( s, t, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   s       (6,1)     Cartesian state
   t
   d        (:)      Data structure
                     .kappa  (1,1)  Mass ratio, m2/(m1+m2)
                     .accel  (1,1)  Sail characteristic acceleration

   -------
   Outputs
   -------
   sDot   (6,1_      Derivative of state

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

Children:

Math: Linear/Mag