Classic Double-Integrator Lead Design and ODE45 Sim

Version 1.0.0 (4.3 KB) by Mike
Typical control systems textbook, "satellite attitude control" problem. A lead compensator is implemented and simulated using ODE45.
92 Downloads
Updated 29 Nov 2018

View License

The goal with this simple control system design problem is to illustrate how to use ODE45 in a loop instead of Simulink for simulations. The main script is satellite.m.

The ODE function if ssodefun, which you can see could represent any state-space model and is therefore usable often.

I kept the model simple and created a capsule simulation plot to observe the modeled capsule rotation animation.

Cite As

Mike (2024). Classic Double-Integrator Lead Design and ODE45 Sim (https://www.mathworks.com/matlabcentral/fileexchange/69545-classic-double-integrator-lead-design-and-ode45-sim), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0