Charlie
08-28-2004, 04:56 PM
I am not very good in mathematics. So, I have a very simple question. I hope someone will be kind enough to guide me preperly.
I want to solve constrained linear least square problem as it is solved by lsqlin function in matlab.
description of lsqlin is:
x = lsqlin(C,d,A,b) solves the linear system C*x=d in the least-squares sense subject to A*x<=b, where C is m-by-n.
Any Ideas on what will be the best way to do that. Can I use svdfit function to solve it? How should I represent the constraints?
I want to solve constrained linear least square problem as it is solved by lsqlin function in matlab.
description of lsqlin is:
x = lsqlin(C,d,A,b) solves the linear system C*x=d in the least-squares sense subject to A*x<=b, where C is m-by-n.
Any Ideas on what will be the best way to do that. Can I use svdfit function to solve it? How should I represent the constraints?