Working with dde23 for a simple problem

4 次查看(过去 30 天)
I'm trying to solve this: xdot = -Lx(t-1) where x is a 3x1 vector and L a constant 3x3 matrix. The initial conditions for x are [0 0 0]'for t<0. For some reasons, I'm having trouble with framing the DDE.I have seen the comprehensive manual already. Yours inputs are appreciated. Thanks.
  4 个评论
Deepayan Bhadra
Deepayan Bhadra 2017-12-12
With non-zero initial conditions, can it be solved to give a proper output?

请先登录,再进行评论。

采纳的回答

Jan
Jan 2017-12-12
If x is [0;0;0] for t < 0 and xdot = -L * x(t-1), you get xdot=[0;0;0] for the time 0<=t<=1. If you integrate this, x will remain [0;0;0] and this argument can be expanded to the following intervals also.
  2 个评论
Deepayan Bhadra
Deepayan Bhadra 2017-12-12
With non-zero initial conditions, can it be solved to give a proper output?
Jan
Jan 2017-12-12
Yes. But you are asking for [0;0;0] explicitly.
Did you read https://www.mathworks.com/matlabcentral/fileexchange/3899-tutorial-on-solving-ddes-with-dde23 already? Maybe it would be helpful if you explain, which problem you have. "For some reasons, I'm having trouble with framing the DDE" does not reveal, which troubles you are faced with.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by