curve fitting, and finding the parameters
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157994/image.jpeg)
3 Commenti
Matt J
il 5 Mar 2014
by designing a cost function of the form
g([beta,xc,lambda]) = norm(f(xi)-measurements)
and minimizing g() with fminsearch.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Histograms in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!