How does EzyFit work?
The core function of the EzyFit toolbox is ezfit, which is based on Matlab’s built-in FMINSEARCH function (Nelder-Mead method). FMINSEARCH performs an unconstrained nonlinear minimization of the SSR (sum of squared residuals) with respect to the various parameters. The two additional functions showfit and selectfit simply call ezfit with graphical output.