Filter löschen
Filter löschen

How can I fit a function to my data that consists of polynoms and gaussian?

1 Ansicht (letzte 30 Tage)
ga56
ga56 am 9 Mär. 2017
Kommentiert: ga56 am 9 Mär. 2017
I have data that is pretty well explained by a gaussian fit. But some of the data can not be explained that way. So I want to extend the fit with a polynom. But I don't know how to do it with the curve fitting app or the statistics toolbox. Is there another possibility?

Antworten (1)

KSSV
KSSV am 9 Mär. 2017
  1 Kommentar
ga56
ga56 am 9 Mär. 2017
but that only fits a polynom to my data. I want to combine gauss and polynoms. Something like that:
p(x)=p1x^n+p2x^n1+...+pnx+pn+1+a1*exp(-((x-b1)/c1)^2) + a2*exp(-((x-b2)/c2)^2)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by