How can I resolve the Convergence failure in DECIC?
2 views (last 30 days)
Show older comments
Hi everyone,
I am trying to use ode15i to solve a system DAEs on the attached code. There seems to be a problem with my decic line. I get the error message:
Error using decic (line 108)
Convergence failure in DECIC.
Error in DAEExersize>fitodes (line 35)
[x0,xp0] = decic(@ReneeMchabeWaterDAE,0,x0,[1 1 0 0],xp0,[],options);
Error in lsqcurvefit (line 213)
initVals.F = feval(funfcn_x_xdata{3},xCurrent,XDATA,varargin{:});
Error in DAEExersize (line 22)
cfit = lsqcurvefit(@fitodes,c0,t,y,lb,ub,options);
Caused by:
Failure in initial objective function evaluation. LSQCURVEFIT cannot continue.
I have tried to change the values of x0, but I did not win. What can I try?
Regards
Dursman
0 Comments
Answers (0)
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!