curve fitting, and finding the parameters

1 回表示 (過去 30 日間)
Rasmus
Rasmus 2014 年 3 月 5 日
コメント済み: Matt J 2014 年 3 月 5 日
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 Center および File ExchangeHistograms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by