MATLAB_Epidemiology Description and Help

MATLAB_Epidemiology is a graphical user interface (GUI) that plots solutions to the following one-dimensional epidemiological model:

(   ∂v(x,t)    ∂2v(x,t)
|||   --∂t- = ϵ (∂x)2-- u (x, t),x ∈  (- L, L),t > 0
|{   ∂u(x,t)=  ∂2u(x,t)+  u(x,t)(v(x,t) - λ ),x ∈ (- L, L),t > 0
      ∂t      (∂x)2
|||   v(x,0) = 1,x ∈ [- L,L ]
|(   u(x,0) = u  (x ),x ∈ [- L, L]
               0
(1)

where ϵ and λ are the diffusivity and removal rate model parameters, respectively. In addition, the GUI investigates continuous dependence.

To use the GUI, specify a diffusivity constant, a final time to plot solutions, a removal rate, and an initial condition before clicking the Solve Epidemiology Model button.


PIC

Figure 1: MATLAB_Epidemiology GUI


The initial conditions in the dropbox menu of the GUI are labeled 0, exp(-.1x^2), step function corresponding to

u0(x) = 0,x ∈ [-L,L],
u0(x) = e-0.1x2 ,x ∈ [-L,L],
u0(x) = {
  1,x ∈ [- L-, L-]
           10 10
  0, otherwise ,
respectively. The GUI assumes L = 100. Once all inputs have been specified, click the Solve Epidemiology Model button to display a movie of the solution.

PIC

Figure 2: Screenshot of movie of solution.


The movie will play twice before outputting surface plots of the solution.


PIC

Figure 3: A surface plot in t and x of the solution.


To explore continuous dependence using the GUI one must first solve the IBVP with particular model parameters. Once a solution has been constructed, click the Perturb Parameters and Solve button. Pop-up boxes will appear to specify the perturbed model parameters and/or initial conditions. The GUI assumes the perturbed initial condition is of the form

Żu0(x) = (1 - δ)u0(x)
where δ is small and nonnegative. In the pop-up box δ is referred to as the perturbation size.

PIC

Figure 4: Input perturbed parameters


Once completed, the GUI will display the norm difference between the original solution and the perturbed solution.


PIC

Figure 5: Norm Difference between original and perturbed solution.