The delayed dynamical system is as follows:
dx/dt= -Betta*x(t)+F(x(t))+(Betta-1)F(x(t-d)),
x(t)=Phi(t) for t in[-d, 0] where d is delay and F(x(t)) is a projection function. I have Matlab code (using ODE45) for this delayed dynamical system without delay, but when the delayed added I don't know how I can insert the delay.
I would be very grateful if someone could help me to design Matlab code for such delayed dynamical system?