image thumbnail

An optimal control tutorial for beginners

version 1.0.0.0 (1.12 MB) by Xuezhong Wang
A tutorial and sample code for solving optimal control problems with indirect methods.

6.6K Downloads

Updated 18 Nov 2009

View License

This tutorial shows how to solve optimal control problems with functions shipped with MATLAB (namely, Symbolic Math Toolbox and bvp4c). Steepest descent method is also implemented to compare with bvp4c.
The examples are taken from some classic books on optimal control, which cover both free and fixed terminal time cases. The pitfalls and limitations of the methods (e.g., bvp4c) are stressed in the paper to help user to handle practical problems with more insights.

Cite As

Xuezhong Wang (2022). An optimal control tutorial for beginners (https://www.mathworks.com/matlabcentral/fileexchange/25889-an-optimal-control-tutorial-for-beginners), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!