I want to get a positive solution "x" for the linear system Ax = b. Is there any function for this?
I did some research and I find a function called "lsq" under scilab, what this function is for?
As far as I know,
The code below finds a solution to $5x_1-x_3=3$, $x_1-2x_2+3x_3=4$ subject to $x\ge 0$.