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 numerical optimal control (using fmincon)
Nonlinear numerical dynamical optimization (using fmincon)
Finite difference test of first and second order derivatives

Links to models

Heat exchanger model

Links to figures

Squeeze and shift concept
Motivation for stochastic adaptive control