I have attached a file of problem which I have to code in Matlab.
If delay is constant, then i can code it using dde23 but in the case when tau(t) = exp(t)/(1+exp(t)). We will have to use ddesd function to solve but how to code using ddesd .
Thank you for your response . But my question is related to coding of time varying delay differential equation(which is added in file) using inbuilt function ddesd in MATLAB.
Rakesh Kumar Thank you ! I also utilized ddesd to solve this problem but finds that it faces another numerical accuracy issue. (I guess it's a stiff differential equation issue)