필터 지우기
필터 지우기

Unable to fit S-shaped data to sigmoid function in Curve Fitting Toolbox

조회 수: 5 (최근 30일)
Daniel Fiuza Dosil
Daniel Fiuza Dosil 2019년 1월 28일
댓글: Alan Akin 2020년 9월 19일
Dear all,
I am trying to fit some experimenta data which has a S-shaped form into a sigmoid function (which is also S-shaped). I am using the generalised logistic function as custom equation in the curve fitting toolbox, but I am unable to get a fit to the data.
The current default curves yield by the matlab toolbox are completly off the data. I have tried different (and more simple logistic functions), different fititing algorithms and different robustness methods. I am unsure how MATLAB computes the fit curve, but playing around with the starting points of the coefficients, sometimes I can get a good fit, eg. starting points: a = b = c = k = 0 and q = 1, yields a relative good fit:
A different set of initial values (eg. starting points: a = b = c = k = 0 and q = 2 or 0.5) yields a completly different fit.
I am seeking a robust way of fitting the data, (I need to do this for thousands sets of data), but I have been struggling to do such a simple fit. It may be the starting point of the fit, the method or even the equation.
Any suggestion for obtaining a robust fit (unsupervised) of S- and Z-shaped data would be extremely welcome.
Daniel.
  댓글 수: 2
Amara Kouyate
Amara Kouyate 2019년 3월 19일
Hello,
I am having the same issue. I have a custom equation : 4.5-exp(a-b*c^log(1/x))
I am looking for the exact value for coefficient a, b, and c while minimizing SSE.
But the fitting tool won't work unless I have a good starting point for a, b, and c.
Is it possible to automate that process whitout trying to find the exact starting point for the coefficients?
Or how to choose the exact or appropriate starting point for coefficient so that data can fit the curve using the curve fitting app?
Thank you
Alan Akin
Alan Akin 2020년 9월 19일
Yep. Same problem here. S-curve fit.

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

답변 (0개)

카테고리

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

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by