gradient_descent, an Octave code which uses gradient descent to solve a linear least squares (LLS) problem.
The computer code and data files described and made available on this web page are distributed under the MIT license
gradient_descent is available in a MATLAB version and an Octave version and a Python version.
llsq, an Octave code which solves the linear least squares (LLS) problem. It finds the "best" straight line to match 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.