error during fitting a model

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)

댓글 수: 1

Torsten
Torsten 2018년 1월 19일
Show us your model function.
Best wishes
Torsten.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

질문:

2018년 1월 19일

댓글:

2018년 1월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by