thomas49th
- 645
- 0
Hi, given a function of x, where x increases in uniform increments (ie x goes 1, 2, 3) and y culmalatively increases in the domain x>0, what methods are there to fit a function it to? I want to know method/algorithm that can fit a line/curve to it. So given these points
(1,4)
(2,5)
(3,2)
(4,7)
(5,1)
(6,1)
I want a Cartesian equation (y= function of x) that can accurately plot a curve through these points - like how a taylor series can be used to approximate functions, but I want to be able to produce a function, or approximate one without. I know that the more disperse the points are from each other the higher the degree of the polynomial (if a polynomial method is used)
Thanks
Thomas
(1,4)
(2,5)
(3,2)
(4,7)
(5,1)
(6,1)
I want a Cartesian equation (y= function of x) that can accurately plot a curve through these points - like how a taylor series can be used to approximate functions, but I want to be able to produce a function, or approximate one without. I know that the more disperse the points are from each other the higher the degree of the polynomial (if a polynomial method is used)
Thanks
Thomas