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 件のコメント

Matt J
Matt J 2014 年 3 月 5 日
If you must do it by fminsearch, then the method you're to use has been pre-determined.
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 件)

カテゴリ

質問済み:

2014 年 3 月 5 日

コメント済み:

2014 年 3 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by