Filter löschen
Filter löschen

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

5 Ansichten (letzte 30 Tage)
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 Kommentare
Amara Kouyate
Amara Kouyate am 19 Mär. 2019
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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by