how to fix the follwoing error?
2 次查看(过去 30 天)
显示 更早的评论
while solving a particular non-linear problem using ODE 45, the following message is obtaing for some values of control parameters, for others the program is working properly. How to fix this error?
Warning: Failure at t=2.215676e+01. Unable to meet the integration tolerance without reducing the step size below the smaalest value allowed(5.684342e-14) at time t.
In ODE 45 at 308.
0 个评论
回答(1 个)
Torsten
2015-4-22
The error message can have many reasons: singularity of the solution, stiffness of the ODE system, too high or low values for the tolerances (RelTol ans AbsTol) or a simple programming error on your side.
We will have to see your MATLAB coding to give more specific advice.
Best wishes
Torsten.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!