Working with dde23 for a simple problem

5 views (last 30 days)
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 Comments
Deepayan Bhadra
Deepayan Bhadra on 12 Dec 2017
With non-zero initial conditions, can it be solved to give a proper output?

Sign in to comment.

Accepted Answer

Jan
Jan on 12 Dec 2017
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 Comments
Deepayan Bhadra
Deepayan Bhadra on 12 Dec 2017
With non-zero initial conditions, can it be solved to give a proper output?
Jan
Jan on 12 Dec 2017
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!