It is not possible to constrain the parameters in the Statistics Toolbox functions. The Optimization Toolbox function lsqcurvefit will allow you to limit the to ranges.
Parameter search limits for fitnlm
5 次查看(过去 30 天)
显示 更早的评论
Is there a way to constrain the search for parameter values on fitnlm? I keep running into issues when trying to solve for 3 to 9 variables and on a single iteration one of the parameters takes a value that causes an error and the whole thing stops. Then I have to do a bunch of exploratory analysis to come up with a better starting value.
Thanks, Joe
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Least Squares 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!