how to solve ODE that contains integration over time?
14 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Bjorn Gustavsson
on 12 Nov 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 Comments
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!