1 / 10

ECE602 BME I Ordinary Differential Equations in Biomedical Engineering

ECE602 BME I Ordinary Differential Equations in Biomedical Engineering. Classification of ODEs Canonical Form of ODE Linear ODEs Nonlinear ODEs Steady-State Solutions and Stability Analysis BME Example 1- The dynamics of Drug Absorption

henry
Download Presentation

ECE602 BME I Ordinary Differential Equations in Biomedical Engineering

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ECE602 BME I Ordinary Differential Equations in Biomedical Engineering

  2. Classification of ODEs • Canonical Form of ODE • Linear ODEs • Nonlinear ODEs • Steady-State Solutions and Stability Analysis • BME Example 1- The dynamics of Drug Absorption • BME example 2 – Hodgkin-Huxley Model for Dynamics of Nerve Cell Potentials

  3. Classification of ODEs • General Form of ODE • The order of an ODE: the order of the highest derivative • R(t)=0: Homogeneous; R(t)0: Nonhomogeneous • Nonlinear: an ODE contains powers of the dependent variable, powers of the derivatives, or products of the dependent variable with the derivatives

  4. Classification of ODEs • Examples First-order, linear, homogeneous First-order, linear, nonhomogeneous First-order, nonlinear, nonhomogeneous Second-order, linear, nonhomogeneous Second-order, nonlinear, nonhomogeneous Third-order, nonlinear, nonhomogeneous

  5. Canonical Form of ODEs • Canonical form • A set of n simultaneous first-order ODEs • Required for methods for integrating ODEs Vector format

  6. Canonical Form of ODEs • Transformation to Canonical form

  7. Linear ODEs Matrix Exponential Method

  8. Linear ODEs EXPM Matrix exponential. EXPM(A) is the matrix exponential of A. >> syms t >> >> A=[1 1;-1 1]; y0=[1;1]; >> y=expm(A*t)*y0 y = exp(t)*cos(t)+exp(t)*sin(t) -exp(t)*sin(t)+exp(t)*cos(t)

  9. Linear ODEs Eigenvector matrix Eigenvalue matrix Method using eigenvalues and eigenvectors

  10. EIG Eigenvalues and eigenvectors. [X,D] = EIG(A) produces a diagonal matrix D of eigenvalues and a full matrix X whose columns are the corresponding eigenvectors so that A*X = X*D. Linear ODEs >> syms t >> A=[1 1;-1 1]; y0=[1;1]; >> [X,D]=eig(A); >> y=(X*expm(D*t)*inv(X))*y0 y = exp(t)*cos(t)-1/2*i*(exp(t)*cos(t)+i*exp(t)*sin(t))+1/2*i*(exp(t)*cos(t)-i*exp(t)*sin(t)) 1/2*i*(exp(t)*cos(t)+i*exp(t)*sin(t))-1/2*i*(exp(t)*cos(t)-i*exp(t)*sin(t))+exp(t)*cos(t) >> y=simplify(y) y = exp(t)*(cos(t)+sin(t)) exp(t)*(-sin(t)+cos(t))

More Related