Path: SpacecraftEstimation/DemoFuns
% Right-hand-side for a thruster based on the input pulsewidth. t is not used. This is compatible with RK4 and RK45. -------------------------------------------------------------------------- Form: f = RHSPressure( mFuel, t, d ) -------------------------------------------------------------------------- ------ Inputs ------ x (1,1) State (fuel mass, not used) t (1,1) Time (not used) d (1,1) Data structure .mDot (1,1) Mass flow .pw (1,1) pulsewidth .dT (1,1) Time step ------- Outputs ------- f (1,1) State derivative --------------------------------------------------------------------------
Back to the SpacecraftEstimation Module page