Info
此问题已关闭。 请重新打开它进行编辑或回答。
event function for an ode solver
2 次查看(过去 30 天)
显示 更早的评论
Taken this:
It is possible to formulate an event function, where the current time and the current y value. Of course, it is possible to pass additional parameters to perform other comparisons. For example, I could pass the (diff)-function I integrate and formulate a stopping event based on a differential value.
The question is: how to formulate a stopping event based on the current integral value?
I. e.: The integrator has to proceed until a certain area under the calculated t-y values is reached.
Thanks
Alex
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!