mass-kb-manual - simulate a spring-mass-damper system to show effect of gains
mass-kb-opt - optimize the gains of a spring-mass-damper system
pend-kb-manual - simulated an inverted pendulum and swingup
pend-kb-opt - optimize the gains for swingup

To run these examples
1) Start Matlab in that directory, or cd to that directory in Matlab
2) Type "init". You only do that once, or to re-initialize variables.
3) Type "main". Do this every time you want to run the simulation, or optimizer
4) Type "quit" to kill Matlab when you are done.
