Getting errors in fitnlm
2 views (last 30 days)
Show older comments
M. Sarim Ameed Khan on 6 Oct 2021
Commented: M. Sarim Ameed Khan on 11 Oct 2021
I am trying to fit an equation fitnlm I am getting following errors and the data is fitting but not giving the desired values of coeffeceints. I have taken several values for first estimate of first coeffeceint.
Warning: The Jacobian at the solution is ill-conditioned, and some model parameters may not be
estimated well (they are not identifiable). Use caution in making predictions.
> In nlinfit (line 384)
In NonLinearModel/fitter (line 1127)
In classreg.regr/FitObject/doFit (line 94)
In NonLinearModel.fit (line 1446)
In fitnlm (line 99)
In PH307_assignment02_3 (line 26)
Thanks for help in advance. Sorry for inconvenience.
Prateek Rai on 9 Oct 2021
To my understanding, you are trying to fit an equation using fitnlm and getting "The Jacobian at the solution is ill-conditioned ..." warning message.
You can refer to the following MATLAB Answer, that provides detailed information on this warning.
More Answers (0)
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!