This code:
1.Computes the covariance matrix (from scratch) and its eigenvalues and eigenvectors.
2.Fits a line to the data using linear least square method, total least square method and RANSAC.
Curve fitting using Linear least squares, Total least squares and Ransac algorithm
This code:
1.Computes the covariance matrix (from scratch) and its eigenvalues and eigenvectors.
2.Fits a line to the data using linear least square method, total least square method and RANSAC.
Curve fitting using Linear least squares, Total least squares and Ransac algorithm