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?(adsbygoogle = window.adsbygoogle || []).push({});

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.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Fitting a curve to data

**Physics Forums | Science Articles, Homework Help, Discussion**