fit.m and sensitivity
Show older comments
Hi, I am using the function fit.m with NonLinearLeastSquares. At the end of the successful fitting I wish to know how much that fitting result is sensitive with respect to each of the fitting parameter. Namely, how much the RMSE changes with respect to each of the parameters when they are perturbed around the solution found. How to do this with the fitting statistics made available by the fit.m output? Thanks
Answers (1)
Star Strider
on 29 Oct 2018
0 votes
I do not have the Curve Fitting Toolbox, however looking at the documentation for the fit function, the Jacobian variable in output may be what you want.
If not, use the Symbolic Math Toolbox jacobian (link) function to calculate it, and then the matlabFunction function to create an anonymous function to evaluate it. See any good reference on nonlinear parameter estimation to understand how to interpret the results.
Categories
Find more on Least Squares 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!