curve fitting, and finding the parameters

I have this histogram which i need to make a fit by using fminsearch:
I am given this function:
f(x)=Beta*exp(-(x-xc)^2/lambda)
which method would be the best way to use?

3 comentarios

Matt J
Matt J el 5 de Mzo. de 2014
If you must do it by fminsearch, then the method you're to use has been pre-determined.
Rasmus
Rasmus el 5 de Mzo. de 2014
but how do i find the parameters beta, xc and lambda by using it?
by designing a cost function of the form
g([beta,xc,lambda]) = norm(f(xi)-measurements)
and minimizing g() with fminsearch.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Preguntada:

el 5 de Mzo. de 2014

Comentada:

el 5 de Mzo. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by