15.11.2014 Views

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5 Differential Equations<br />

Example: Cardiovascular Model<br />

This example solves a cardiovascular model due to J. T. Ottesen [6]. The<br />

equations are integrated over the interval [0,1000]. The situation <strong>of</strong> interest is<br />

when the peripheral pressure R is reduced exponentially from its value <strong>of</strong> 1.05<br />

to 0.84 beginning at t = 600.<br />

This is a problem with one delay, a constant history, and three differential<br />

equations with fourteen physical parameters. It has a discontinuity in a low<br />

order derivative at t = 600.<br />

Note The demo ddex2 contains the complete code for this example. To see the<br />

code in an editor, click the example name, or type edit ddex2 at the command<br />

line. To run the example type ddex2 at the command line. See “DDE Solver<br />

Basic Syntax” on page 5-52 for more information.<br />

In ddex2, the fourteen physical parameters are set as fields in a structure p<br />

that is shared with nested functions. The function ddex2de for evaluating the<br />

equations begins with<br />

function dydt = ddex2de(t,y,Z)<br />

if t

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!