Marvin_MKII
- 3
- 0
Hi everyone.
Is there any way to set demands on least square solutions?
I have an equation on the form Ax=b, which is solved for x as:
x=(A'*A)^-1*A'*b
I do know for a fact that all values in x should be positive, but the least square solution for my particular system contains a number of negative x-values.
Is there some way to find the least square solution with only positive coefficients?
Thanks in advance
Jocke
Is there any way to set demands on least square solutions?
I have an equation on the form Ax=b, which is solved for x as:
x=(A'*A)^-1*A'*b
I do know for a fact that all values in x should be positive, but the least square solution for my particular system contains a number of negative x-values.
Is there some way to find the least square solution with only positive coefficients?
Thanks in advance
Jocke