How can a matrix differential equation backwards
이전 댓글 표시
ghfghfg
댓글 수: 1
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?
답변 (1개)
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.
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!