approx_leastsquares_test, a MATLAB code which calls approx_leastsquares(), which interactively approximates a function f(x) in the interval [a,b] by constructing an m-degree polynomial that minimizes the l2 norm of the error at n data points.
The information on this web page is distributed under the MIT license.
approx_leastsquares, a MATLAB code which interactively approximates a function f(x) in the interval [a,b] by constructing an m-degree polynomial that minimizes the l2 norm of the error at n data points.