How can a matrix differential equation backwards
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
ghfghfg
1 Commento
Star Strider
il 16 Giu 2016
It would help if you went into more detail.
What do you want to do with your system of differential equations?
Risposte (1)
Torsten
il 17 Giu 2016
Modificato: Torsten
il 17 Giu 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.
0 Commenti
Vedere anche
Categorie
Scopri di più su Ordinary Differential Equations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!