How can a matrix differential equation backwards

1 次查看(过去 30 天)
ghfghfg
  1 个评论
Star Strider
Star Strider 2016-6-16
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

请先登录,再进行评论。

回答(1 个)

Torsten
Torsten 2016-6-17
编辑:Torsten 2016-6-17
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.

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by