question about coding a delay function for ddesd
Show older comments
Hello everyone
I am working on a state dependent time delay - delay differential equation problem where my delay is defined as [x(t) - x(t-tau) = constant]
I am trying to sove it with ddesd but am not sure how to code this delay function
thanks and regards
9 Comments
Torsten
on 11 Jun 2022
Include your delay differential equation.
Mohammed Said
on 11 Jun 2022
Edited: Mohammed Said
on 12 Jun 2022
Torsten
on 11 Jun 2022
And you say tau depends on the state variables - how is it calculated ?
Mohammed Said
on 11 Jun 2022
You don't need to do this interpolation - the delay solver does this.
The only question is: is "tau" a constant during the integration or does it change with x1, x2, x3 or t ?
By the way: The condition x3(t) - x3(t-tau) = constant already fixes x3(t) for all t. So you cannot define it a second time by a differential equation.
Mohammed Said
on 11 Jun 2022
Mohammed Said
on 11 Jun 2022
Edited: Mohammed Said
on 12 Jun 2022
Torsten
on 12 Jun 2022
I doesn't change my answer.
You can't write a differential equation and an algebraic relation for x3 because using both will lead to a contradiction.
Answers (0)
Categories
Find more on Equation Solving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!