Aircraft Control using Nonlinear Dynamic Inversion

Simulate the Nonlinear Dynamic Inversion Controller for the longitudinal dynamics of a small aircraft described by Stevens & Lewis (2003)

You are now following this Submission

Simulate the Nonlinear Dynamic Inversion Controller for the longitudinal dynamics of a small aircraft described by Stevens & Lewis (2003) pp 495-500 (also see Example problem 2.4-1, pp 140-141)
The code is based on the codes provided in Stevens & Lewis (2003), Figures 5.8-6 & 5.8-7.
We have tried to keep the same structure and variable names although these seem to be based on FORTRAN code.
Thus the code and structure could be improved. We have also corrected a few errors in the original code, particularly with the definition of C* which needs modifying to work with a nonlinear controller.

Cite As

B.L. Steven & F.L. Lewis (2003) "Aircraft Flight Control & Simulation", John Wiley (edition 2)

James Whidborne (2026). Aircraft Control using Nonlinear Dynamic Inversion (https://se.mathworks.com/matlabcentral/fileexchange/82199-aircraft-control-using-nonlinear-dynamic-inversion), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: dutch_roll, Phugoid

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.03

more ghost code removed from function xdot=NonLinDynInv(x,u)

1.02

Code cleaned up to remove some "ghost code"

1.01

v 1.0 has a bug in main calling line 69 - now corrected

1.0.0