error during fitting a model

2 次查看(过去 30 天)
aditi
aditi 2018-1-19
评论: Torsten 2018-1-19
I am fitting a function using "fittype" and "fit" commands. But I am getting following error again and again. Sometimes it goes away. But rarely. Please help me.
Error using fit>iFit (line 340) Complex value computed by model function, fitting cannot continue. Try using or tightening upper and lower bounds on coefficients.
Error in fit (line 108) [fitobj, goodness, output, convmsg] = iFit( xdatain, ydatain, fittypeobj, ...
Error in test2 (line 10) f=fit(x,y,ft)

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by