Fit function ill-conditioned

조회 수: 25 (최근 30일)
Tejaswini Gautham
Tejaswini Gautham 2019년 5월 30일
Matlab fit function throws the following error:
Warning: Equation is badly conditioned. Remove repeated data points or try centering and scaling.
> In curvefit.attention.Warning/throw (line 30)
In fit>iLinearFit (line 672)
In fit>iFit (line 383)
In fit (line 108)
My data: x,t and f(x,t)
I am trying to fit a 2nd degree polynomial through the data
The problem is: The x,t, and f(x,t) values are very similiar
I have also scaled and centered the x and t values to vary from -1 to 1, but I still have this error
Any suggestions?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by