I am trying to solve the following system of 2 delay differential equations using dde23
in MATLAB. The solver seems to work for equation 2, but for the first equation it chooses the trivial solution v(1) = 0
(as shown in attached plot). Literature on dde23
does not indicate that it has a feature to force the solution to be nonzero / positive (as in ode solvers); is there a way I can force dde23
to search for nontrivial, >0
solutions? Or some workaround for this issue? Any suggestions would be much appreciated. Thank you!
Equations:
v(1) = (Aval - f) * v(1) - b * v(1) * 2; %S eqn
v(2) = h * b * ylagS(1) * ylagV(2) - b * v(1) * v(2) - m * v(2); %V eqn
Defined constants:
Aval = 1.; %Various constants defined here
f = 10^-5;
b = 10^-7;
h = 1.5;
m = 0.0003;