How can i implement Central difference method to solve ODE
11 ビュー (過去 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 で Numerical Integration and Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!