ILNumerics - Technical Computing Tools

High Performance Framework for Visualization

and Computing in Industry and Science


Linear Least Squares Fitting Example

Two example applications are combined in this Windows.Forms GUI: (1) fitting a line to measurement data using pinv and (2) fitting polynoms of various degrees to another measurement dataset using ridge_regression.

Each example is activated by an individual button on the main example GUI. The ILNumerics Visualization Engine is utilized in order to plot the function and the solution together with the path passed from the start to the minimum.

This example serves as accompanying material for the online documentation for linear least squares.

Last modified: February 28 2018 13:36

Download ZIP


All Examples