An algorithm devised and implemented using Matlab to takes an image of a sketch of one or more functions, plotted on the x- and y- axes, and converts it into an electronic plot, along with the set of equations and parameters that recreate the same plot.