How can a matrix differential equation backwards

ghfghfg

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Torsten
Torsten am 17 Jun. 2016
Bearbeitet: Torsten am 17 Jun. 2016

0 Stimmen

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

Gefragt:

am 16 Jun. 2016

Bearbeitet:

am 13 Jul. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by