FCoreAndMoving:
--------------------------------------------------------------------------
Example system RHS which incorporates FMovingBody.
The orbit states have a zero derivative. Loops through the n bodies
and performs attitude kinematics on each.
Since version 7.
--------------------------------------------------------------------------
Form:
vargout = FCoreAndMoving( t, x, flag, d )
--------------------------------------------------------------------------
------
Inputs
------
t Time (s)
x (:,1) The state vector, [r;v;q;w;...]
flag (1,:) Flags for ode113
d (1,1) Data structure for FMovingBody
.g
.force
.torque
-------
Outputs
-------
xDot (:,1) The state vector derivative
--------------------------------------------------------------------------
Children:
AeroUtils: Coord/QIToBDot
Sail: AttitudeDynamics/FMovingBody