curve fitting, and finding the parameters

1 次查看(过去 30 天)
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 个评论
Rasmus
Rasmus 2014-3-5
but how do i find the parameters beta, xc and lambda by using it?
Matt J
Matt J 2014-3-5
by designing a cost function of the form
g([beta,xc,lambda]) = norm(f(xi)-measurements)
and minimizing g() with fminsearch.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by