Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
ga56
ga56 el 9 de Mzo. de 2017
Comentada: ga56 el 9 de Mzo. de 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?

Respuestas (1)

KSSV
KSSV el 9 de Mzo. de 2017
  1 comentario
ga56
ga56 el 9 de Mzo. de 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)

Iniciar sesión para comentar.

Categorías

Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by