Hello,
could someone please help me with how to do linear least squares with known upper
ub and lower bounds
lb when I know matrix
C (measurements) and vector
d (results) and I need to get vector
x within bounds?
like I would do in MATLAB:
Code:
x = lsqlin([C],[d],[],[],[],[],lb,ub)
I have no problems with using lsfitlinear. But it, probably, does not allow boundaries. So I tried minbleic and also lsfitcreatef, but with no success.
I am struggling with it for few days already, could anyone help please?
Many thanks
hugo