- #1
gnome
- 1,041
- 1
I have a set of data points relating the width of an object in an image to its distance from the camera. I'd like to find the simplest curve that fits "pretty well". When I graph the points, it looks like a hyperbola would be a good fit. Is there a simple iterative method to find an equation?
The data:
(20, 59)
(30, 44)
(40, 34)
(50, 28)
(60, 24)
(70, 21)
(80, 19)
(90, 17)
(100, 15)
(125, 12)
(150, 10)
(175, 9)
(200, 8)
(225, 7)
(250, 6)
I suppose I could add (0,infinity) to that list. Nothing above x=250 is relevant.
The data:
(20, 59)
(30, 44)
(40, 34)
(50, 28)
(60, 24)
(70, 21)
(80, 19)
(90, 17)
(100, 15)
(125, 12)
(150, 10)
(175, 9)
(200, 8)
(225, 7)
(250, 6)
I suppose I could add (0,infinity) to that list. Nothing above x=250 is relevant.