Working with dde23 for a simple problem

4 visualizzazioni (ultimi 30 giorni)
Deepayan Bhadra
Deepayan Bhadra il 11 Dic 2017
Commentato: Jan il 12 Dic 2017
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 Commenti
Deepayan Bhadra
Deepayan Bhadra il 12 Dic 2017
With non-zero initial conditions, can it be solved to give a proper output?

Accedi per commentare.

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by