Is it possible to specify the upper and lower bounds for the coefficients when using the fitting function NLINFIT in the Statistic Toolbox?

15 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
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 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by