What ode is more precise? "ode45" or "ode15s using the analytic Jacobian"?
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello,
I know that by using the analytically obtained Jacobian matrix ode15s speed up, but... will it make it more precise? even more precise that ode45?
Thanks for your replies. LJ
댓글 수: 0
채택된 답변
Jan
2012년 8월 24일
편집: Jan
2012년 8월 24일
The "precision" of both methods is "double". You mean "accuracy". More details about the difference of these terms can be found at WikiPedia.
You cannot compare the accuracy of ODE15S and ODE45 directly, because the first method is appropriate for stiff systems, but the 2nd for non-stiff ones.
An analytically obtained Jacobian is not necessarily more accurate or faster than a dynamically determination using a numerical differentiation. A small mechanical system of e.g. 6 rigid bodies and some joints can lead to a enormous number of nested trigonometric functions in the Jacobian. Cancellation errors can amplify small numerical errors. When this leads to high frequent oscillations of the system, the step size control increases the number of steps, such that the the integration can take more time to produce worse results.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!