llsq_test, an Octave code which calls llsq(), which solves the linear least squares (LLS) problem. It finds the best straight line to match a set of data points. More precisely, it finds the quantities "a" and "b" defining the straight line y=a*x+b, which minimizes the root-mean-square (RMS) error to the data.
The information on this web page is distributed under the MIT license.
llsq, an Octave code which solves the linear least squares (LLS) problem. It finds the "best" straight line to match a set of data points. More precisely, it finds the quantities "a" and "b" defining the straight line y=a*x+b, which minimizes the root-mean-square (RMS) error to the data.