How to fit a line onto dots on the plane? polyfit is not the solution, because it is good for functions and not for points on the plane. ax+b function fit fails for vertical lines for example, and noise model also differs
MATLAB: How to fit a line on the plane
fitlinepoints
Best Answer