compressed_solve, an Octave code which handles an underdetermined linear system A*x=b, using a version of the QR factorization, and seeking a solution which has the fewest possible nonzero entries. This procedure is useful in the field of compressed sensing.
Octave's backslash or "mldivide()" operator and its QR factorization solution approach DO NOT produce the same results as compressed_solve().
The information on this web page is distributed under the MIT license.
compressed_solve is available in a MATLAB version and an Octave version.
llsq, an Octave code which solves the simple linear least squares (LLS) problem of finding the formula of a straight line y=a*x+b which minimizes the root-mean-square error to a set of N data points.
qr_solve, an Octave code which computes the linear least squares (LLS) solution of a rectangular linear system A*x=b, using the QR factorization.
test_lls, an Octave code which implements linear least squares test problems of the form A*x=b.