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?
by designing a cost function of the form
g([beta,xc,lambda]) = norm(f(xi)-measurements)
and minimizing g() with fminsearch.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Histograms에 대해 자세히 알아보기

질문:

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