Can ODE solvers produce different results when the MATLAB versions vary?
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm trying to simulate a paper and am using an ode45 solver to solve the differential equations. However, the results that I get vary a bit. I asked the author of the paper and she replied that someone else also reported the same to her. Since the paper was published in 2006, I wonder if it is due to the odesolver that was present in MATLAB 2006 or prior versions.
Do you think that I should try downloading MATLAB 2006 and try re-running the code?
댓글 수: 0
답변 (1개)
James Tursa
2019년 4월 5일
Running on 2006 version may be the only way to be sure. In general, it is not unusual to see differences in some function behavior among different versions. Some of these may be documented in the Release Notes. I would think that particularly true of versions separated by a decade or more.
댓글 수: 1
Walter Roberson
2019년 4월 5일
Does the ode function happen to involve linear algebra such as the \ operator or svd or the like? Linear algebra has been improved several times.
참고 항목
카테고리
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!