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)
514 Downloads
Updated 12 Jul 2023

View License

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 (2024). Aircraft Control using Nonlinear Dynamic Inversion (https://www.mathworks.com/matlabcentral/fileexchange/82199-aircraft-control-using-nonlinear-dynamic-inversion), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on GNC and Avionics in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
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