Path: Common/DemoFuns
% Right-hand-side for a rigid body. t is not used. This is compatible with RK4 and RK45. -------------------------------------------------------------------------- Form: f = RHSUKF( x, t, d ) -------------------------------------------------------------------------- ------ Inputs ------ x (3,1) Rates t (1,1) Time (not used) d (1,1) Data structure .w (1,1) [Ixx Iyy Izz Ixy Ixz Iyz] .u (3,1) Input ------- Outputs ------- f (3,1) State derivative --------------------------------------------------------------------------
Math: Linear/Cross
Back to the Common Module page