Is it possible to avoid integration tolerance error in lsqcurvefit

1 view (last 30 days)
Hi,
I am working on parameter fitting of coupled non-linear ordinary differential equations.
Most of the times when I guess three initial constant values and run program in loop, it stops whole program (usually on second guess) and shows error i.e.
Warning: Failure at t=2.403593e+00. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (7.105427e-15) at time t
Is it possible that I can skip that loop, and my program will go on third loop even after getting the error on second loop?
Thanks in advance.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!