Approximation of data using cubic Bezier curve least square fitting. Uniform parameterization is used. Fitting ensures upper bound of maximum allowed square distance. Break and fit criteria is used to achieve the threshold of fitting.
main.m: Execute/Run this program
cubicbezierleastsquarefit.pdf: Read this file to understand the theory.
Hello!. The method you have formulated doesnot work well for power law curve. I.e. If I have data points from the equation y=x^0.1, which is to be fitted by Cubic Bezier curve, the points generated by your method is not close to the original points at all. Any solutions??