question about coding a delay function for ddesd
显示 更早的评论
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 个评论
Torsten
2022-6-11
Include your delay differential equation.
Mohammed Said
2022-6-11
编辑:Mohammed Said
2022-6-12
Torsten
2022-6-11
And you say tau depends on the state variables - how is it calculated ?
Mohammed Said
2022-6-11
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
2022-6-11
Mohammed Said
2022-6-11
编辑:Mohammed Said
2022-6-12
Torsten
2022-6-12
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.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Equation Solving 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!