Module 3

Ordinary Differential Equations

MATLAB provides several powerful approaches to integrating sets of initial-value, ordinary differential equations. In this module, we 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

  • 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 containing differential ...

Get Process Control: Modeling, Design, and Simulation, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.