Effacer les filtres
Effacer les filtres

How can a matrix differential equation backwards

1 vue (au cours des 30 derniers jours)
Jeffrey Eiyike
Jeffrey Eiyike le 16 Juin 2016
Modifié(e) : Jeffrey Eiyike le 13 Juil 2016
ghfghfg
  1 commentaire
Star Strider
Star Strider le 16 Juin 2016
It would help if you went into more detail.
What do you want to do with your system of differential equations?
If you are new to MATLAB, see Getting Started

Connectez-vous pour commenter.

Réponses (1)

Torsten
Torsten le 17 Juin 2016
Modifié(e) : Torsten le 17 Juin 2016
Use a backwards linspace for generating "tspan" for one of the ODE integrators (e.g. ODE45).
For the forward direction, use something like tspan = 0:0.1:T. For the reverse direction, use something like tspan = T:(-0.1):0.
Best wishes
Torsten.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by