Obtaining the chi square value from a multigaussian fit

1 view (last 30 days)
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

Answers (1)

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

Categories

Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!