Special software is required to use some of the files in this section: .m.
The following MATLAB® scripts were provided to students in the course.
Simulation Subroutine (M)
This is a function script that generates the derivatives of the state variables. It is called repeatedly by ode23 and so should be efficient.
Main Script (M)
This is the MATLAB® program that runs the simulation.