Using MATLAB to Solve ODEs – Matrix, Symbolic, and Numeric
Approaches
Prof. Matthew Leinewebe
Biomedical Engineering Department
San Jose State University
Table of Contents
Introduction........................................................................................................................................... XXXXXXXXXX1
Solving Systems of Nonhomogeneous ODEs Using MATLAB............................................................ XXXXXXXXXX2
Side Note:......................................................................................................................................... XXXXXXXXXX4
Math Exercise:.............................................................................................................................. XXXXXXXXXX4
Steps to Solve a Homogeneous System of ODEs:......................................................................... XXXXXXXXXX5
Nonhomogeneous Systems of ODEs – Example: Time-Release Capsules & Other “Smart Drugs” XXXXXXXXXX5
Using MATLAB to Solve a System of Nonhomogeneous ODEs - Linear Alge
a Approach............... XXXXXXXXXX6
Eigenvalue/vector Activities.............................................................................................................. XXXXXXXXXX7
Activity 1........................................................................................................................................ XXXXXXXXXX7
Activity 2........................................................................................................................................ XXXXXXXXXX7
Activity 3........................................................................................................................................ XXXXXXXXXX7
Activity 4........................................................................................................................................ XXXXXXXXXX7
Activity 5........................................................................................................................................ XXXXXXXXXX8
Mid-Lab Question 1.......................................................................................................................... XXXXXXXXXX9
Using MATLAB to Solve a System of Nonhomogeneous ODEs – Symbolic Solver Approach............ XXXXXXXXXX9
Activity 6............................................................................................................................