As discussed in lecture, it may be possible that the noise in a physical
or biological system has correlations which are not satisfied by white
noise. For example, we found the following equation for the concentration
of cGMP:
| (10) |
| (12) |
It can be shown that the colored noise
may be calculated from the
following equation:
Equation (13) can be solved using the Euler-Maruyama method
described above, giving
. This is done with the following
program called ou.m:
randn('state',100)
tau = 1;
xi0 = 1;
dt = 0.01;
N = 1000;
T = N*dt;
dW = sqrt(dt)*randn(1,N); % Brownian increments
W = cumsum(dW); % discretized Brownian path
xi = zeros(1,N); % preallocate for efficiency
xi(1) = xi0 - dt*xi0/tau + dW(1);
for j=2:N
xi(j) = xi(j-1) - dt*xi(j-1)/tau + dW(j);
end
plot([0:dt:T],[xi0,xi],'b-'), hold off
xlabel('t','FontSize',12)
ylabel('\xi','FontSize',16,'Rotation',0,'HorizontalAlignment','right')
This program produces Figure 3.
Note that in solving for
we do not need to know anything about
.
Equation (11) can then be solved using Euler integration:
| (14) |