Code snippets

Here, you can find Matlab code snippets (minimal working examples or MWEs) that can help you get started with nonlinear model-based control. Please see my Github page for more useful snippets.

Links to minimal working examples (MWEs)

Nonlinear optimal control (using fmincon)
Dynamical optimization (using fmincon)
Extremum seeking control
Finite difference test of first and second order derivatives