Is it possible to specify the upper and lower bounds for the coefficients when using the fitting function NLINFIT in the Statistic Toolbox?
47 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Answered: Ankit Labh
on 3 Feb 2020
I would like to be able to specify the upper and lower bounds for coefficients in the NLINFIT function.
Accepted Answer
MathWorks Support Team
on 18 Oct 2013
The ability to specify the upper and lower bounds for coefficients in the NLINFIT function is not available in the Statistics Toolbox.
To work around this issue one can consider using the LSQCURVEFIT function in the Optimization Toolbox. The LSQCURVEFIT does not offer the exact same capabilities, for example: LSQCURVEFIT does not allow using a 'Weight function' like NLINFIT as an input, however, one can manually customize the objective function to include this information.
0 Comments
More Answers (1)
Ankit Labh
on 3 Feb 2020
Hi,
May I just ask if thereis any update on eith of LSQCURVEFIT or NLINFIT(or FITNLM) which incorporatates both parater boundation and weight?
Thanks.
0 Comments
See Also
Categories
Find more on Linear and Nonlinear Regression 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!