How to get a matrix from a least squares equation?

1 view (last 30 days)
Hi, If i have this term arg min |Ax-b| and i used this code to get x
x = lsqnonneg(A,b)
How can i obtain x in a matrix form?

Answers (0)

Categories

Find more on Matrices and Arrays 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!