[02e2c3]: / RadOnly / sys_ndRadUS.m

Download this file

50 lines (27 with data), 957 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
% In this code we include logistic growth of normal cells and PM cells
% along with radiation effect from Gibins work.
function xprime = sys_ndRadUS(t,x,D)
xprime = zeros(2,1);
% Parameters that are fixed
N = 10^9; % Sachs
lambda = 0.40; %Sachs
r = 0.80;
K = 20;
d = D/K;
tau = 0.02; % radiation time- 30 minutes = 0.02 days
alpha = 0.25; % Damien Weber et al.
gamma = 10^(-9); % (d/tau) is the dose rate
if(t<=K+tau)
t-floor(t);
if (t-floor(t)<=tau)
t;
xprime(1) = lambda*x(1)*(1-x(1)) - alpha*(d/tau)*x(1) - gamma*(d/tau)*x(1);
xprime(2) = r*lambda*x(2)*(1-x(1)) - alpha*(d/tau)*x(2) + gamma*(d/tau)*N*x(1);
else
xprime(1) = lambda*x(1)*(1-x(1));
xprime(2) = r*lambda*x(2)*(1-x(1));
end
else
xprime(1) = lambda*x(1)*(1-x(1));
xprime(2) = r*lambda*x(2)*(1-x(1));
end