fitting a linear model with constraints

3 次查看(过去 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

Community Treasure Hunt

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

Start Hunting!

Translated by