How can i implement Central difference method to solve ODE

10 Ansichten (letzte 30 Tage)
isheanesu makhuza
isheanesu makhuza am 20 Apr. 2021
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 Kommentar
Jan
Jan am 20 Apr. 2021
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov am 12 Jun. 2021

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by