Working with dde23 for a simple problem

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

Solution is x=[0 0 0] for all t.
Best wishes
Torsten.
I'm afraid that doesn't seem to be correct.
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

With non-zero initial conditions, can it be solved to give a proper output?
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)

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 11 Dec 2017

Commented:

Jan
on 12 Dec 2017

Community Treasure Hunt

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

Start Hunting!