image thumbnail

An optimal control tutorial for beginners

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


Updated Wed, 18 Nov 2009 15:01:50 +0000

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 (, 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!