MATLAB provides several powerful approaches to integrating sets of initial-value, ordinary differential equations. In this module, we will discuss two approaches: using functions called by various ode routines from a MATLAB command window or script file, and using functions called by a block from a SIMULINK diagram.
After reviewing this module, the reader should be able to do the following:
Write a basic function file containing differential equations to be integrated by MATLAB ode routines
Write a more advanced function file, with parameters based through an argument list and containing differential equations to be integrated by MATLAB ode routines
Write a function (more specifically, an S-function) file ...