Obtaining the chi square value from a multigaussian fit

1 vue (au cours des 30 derniers jours)
Lorenzo Mattera
Lorenzo Mattera le 7 Août 2017
Modifié(e) : José-Luis le 7 Août 2017
I am using the Matlab fit function to fit data with several gaussian functions. It seems to work, I obtain the gaussian parameters but I cannot find the way to get also the chi square of the fit. Should I calculate but myself? No way to have it in the output? Thanks for any suggestion Renzo

Réponses (1)

José-Luis
José-Luis le 7 Août 2017
Modifié(e) : José-Luis le 7 Août 2017
Provided you have the right toolbox:
Otherwise, use the residuals of your fit and do the test yourself.

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by