Path: ACPro/ACPointMass
% Compute the state derivatives of a point mass aircraft model. State: x = [V;gamma;psi;x;y;h;Tbar] -------------------------------------- V true airspeed gamma air relative flight path angle psi air relative flight heading angle x East position y North position h altitude Tbar normalized excess thrust Control: u = [Lbar;phi;Tcbar] ------------------------------- Lbar normalized excess lift phi bank angle Tcbar normalized excess thrust command -------------------------------------------------------------------------- Form: xDot = AircraftPointMassRHS( x, u ) -------------------------------------------------------------------------- ------ Inputs ------ x (7,1) State vector u (3,1) Control vector data Data structure with fields: a Body-frame disturbance acceleration (forward,x-track,normal) W Wind speeds (East,North,up) g Gravitational acceleration tau Engine thrust response time ------- Outputs ------- xDot (7,1) State time derivative --------------------------------------------------------------------------
Back to the ACPro Module page