Two almost identical ODEs with different solutions
이전 댓글 표시
I'm trying to use ode15s to solve a kinetics problem involving a system of differential equations. I have written the code in two ways, both of which give the same output for a large range of inputs. (By same, I mean that the difference between outputs is on the order of 10^-22, while the inputs vary between 10^-6 and 10^-12.
However, when I use the ODE solver, the solutions are immediately very different.
Does the solution given by the matlab solvers depend on the design of the functions, or only on the input and output, treating the system of equations as a black box?
댓글 수: 1
Richard Brown
2013년 7월 2일
The solver just calls your function - i.e. it is a black box to MATLAB. Are you able to show us your examples?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!