how to solve ODE that contains integration over time?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I need to solve the attached ODE. I known how to handle with X as a matrix. My problem is the integral. How can I plug it inside the ODE45 solver? Is it possible on Matlab?
Thank you!
0 comentarios
Respuestas (1)
Bjorn Gustavsson
el 12 de Nov. de 2021
For this type of integro-differential equations the standard "first-stab" trick is to differentiate it one step, which should give you the second-derivative of X on the LHS and something you can work out analytically for the RHS such that the integral will vanish when taking the limit of the RHS derivative. Then you'll have a system of second-order ODEs.
HTH
0 comentarios
Ver también
Categorías
Más información sobre Ordinary Differential Equations en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!