How can i implement Central difference method to solve ODE
조회 수: 41 (최근 30일)
이전 댓글 표시
I am trying to implement the central difference method in matlab using code to solve a spring-damper mass system with the equation:
the values for the coefficients are given.
댓글 수: 1
Jan
2021년 4월 20일
Central differences are useful to determine a dreivative, if you have numerical data of a curve. I do not know an application, where central differences are useful to solve an ODE. Use an ODE solver instead, e.g. ode45.
답변 (1개)
Sulaymon Eshkabilov
2021년 6월 12일
Here is a good discussion and code how to implement the central difference method in solving ODEs:
댓글 수: 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!