Event Detecting in Event-based ODE
显示 更早的评论
Greetings. I'm trying to detect an event of a variable value crossing tha value of zero. The problem I'm facing is that the ode solver is detecting the value at 0.1*(1.0e-14) instead of zero. I'm using ode45 and the odeset options below:
ODEopts = odeset('Events', @event, 'Refine', 8, 'RelTol',...
10^-6, 'AbsTol', 10^-6);
Can I solve this issue by changing the options or the solver?
Thanks in advance
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Mathematics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!