How can i implement Central difference method to solve ODE
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
isheanesu makhuza
el 20 de Abr. de 2021
Respondida: Sulaymon Eshkabilov
el 12 de Jun. de 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 comentario
Jan
el 20 de Abr. de 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.
Respuestas (1)
Sulaymon Eshkabilov
el 12 de Jun. de 2021
Here is a good discussion and code how to implement the central difference method in solving ODEs:
0 comentarios
Ver también
Categorías
Más información sobre Numerical Integration and Differential Equations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!