fitting a linear model with constraints

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?

Answers (1)

See lsqlin

1 Comment

I don't see the pvalues. Can you point where it is?

Sign in to comment.

Categories

Asked:

cgo
on 22 Oct 2018

Commented:

cgo
on 22 Oct 2018

Community Treasure Hunt

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

Start Hunting!