Info
此问题已关闭。 请重新打开它进行编辑或回答。
Solving ODE that contains an integral
1 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/189507/image.jpeg)
I'm trying to solve the above differential equation using ODE15i where C1-C4 and V0 are some known constants. My issue comes in how to handle the fourth term containing the integral. My thought process right now is to declare global dummy vectors for t and dV/dt, update them each time the residual function is called, and use them to determine the value of the integral using the trapz function. Any insights on if this method would work or if there's a better way to go about it would be greatly appreciated, thanks!
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!