Error on constrained fit parameters using lsqcurvefit

7 ビュー (過去 30 日間)
Dlovinger
Dlovinger 2017 年 11 月 28 日
I'm using lsqcurvefit to fit some experimental data to a series of exponentials. Other fitting routines (fitnlm, etc) do not perform as well, and a number of parameters must also be constrained to fit properly. To get the uncertainty on each parameter, I am using nlparci with the Jacobian output of lsqcurvefit. However, I notice that the errors are quite large in a lot of cases, compared to when I leave the fit unconstrained (even though the fit is worse). I have seen conflicting information about whether nlparci is valid when the fit is constrained. My question is, can I use nlparci to find parameter errors when using constraints on lsqcurvefit? If not, how can I find these errors? Thank you.

回答 (0 件)

カテゴリ

Help Center および File ExchangeLeast Squares についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by