Which ode should I choose for 2 sets of differential equations?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi all
I have a set of 2 differential equations ( regardless of what they are or what they do) I just want to discuss the possibility to improve the solving in mathematical point of view
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256900/image.jpeg)
the expected solution is the blue line. while the red one is what I do using ode45.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256901/image.jpeg)
the convergence rate is not very good. I also tried with different initial conditions, but it seems like with a bigger r , I get worse convergence ,that it takes 5 minutes for the blue curve bellow, and 6 hours for the yellow one. so not very convenient to solve. bellow is just an example of the trials
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256902/image.jpeg)
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!