Obtaining the chi square value from a multigaussian fit

4 次查看(过去 30 天)
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

回答(1 个)

José-Luis
José-Luis 2017-8-7
编辑:José-Luis 2017-8-7
Provided you have the right toolbox:
Otherwise, use the residuals of your fit and do the test yourself.

类别

Help CenterFile Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by