Scilab Function

lsq - linear least square problems.

Calling Sequence

X=lsq(A,B)

Parameters

Description

X=lsq(A,B) computes the minimum norm least square solution of the equation A*X=B, while X=A \ B compute a least square solution with at at most rank(A) nonzero components per column.

REFERENCES

EXAMPLES

See Also