How can a matrix differential equation backwards

ghfghfg

댓글 수: 1

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일

0 개 추천

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.

카테고리

태그

질문:

2016년 6월 16일

편집:

2016년 7월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by