fitting a linear model with constraints

4 次查看(过去 30 天)
cgo
cgo 2018-10-22
评论: cgo 2018-10-22
I am trying to use fitlm, but by using nonnegative least squares. I am aware of lsqnonneg, but I am interested in looking at the p-values upon fitting too.
Is there a fitlm for nonnegative least squares?

回答(1 个)

madhan ravi
madhan ravi 2018-10-22
See lsqlin

类别

Help CenterFile Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by