Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Nonlinear curve fitting

  1. Aug 9, 2011 #1

    what are some good textbooks dedicated to this subject? I have a short time to learn everything about this subject (upto a certain level). I'm trying to fit a non-analytic curve (whose form I know) to some data.

    edit- sorry, I don't only mean non-linear, I mean non-analytic. The curve is smoothly dependant on the parameter space so I don't expect it to be difficult, but it takes a computer to estimate its value. A human could do better than my current attempt at coding.

    Last edited: Aug 9, 2011
  2. jcsd
  3. Aug 9, 2011 #2


    User Avatar
    Science Advisor

    You can use linear algebra to find the "best" approximation to a set of data points using a linear combination of different functions. E.g. if you expect that a good approximation could be Ax+Bx^2+Csin(x), you can find constants A,B and C such that this function is optimized wrt your data points. More variables can also be used. This is treated in many books on linear algebra. E.g. Lay's.
  4. Aug 9, 2011 #3
    I know exactly what the function is, but it involves an integral that can only be calculated numerically. I'm seeking the parameters of this awkward function that causes it to best fit the data.
  5. Aug 9, 2011 #4

    Stephen Tashi

    User Avatar
    Science Advisor

    I suggest you describe your problem completely.
  6. Aug 10, 2011 #5
    If we knew what is the function and the form of the related integral, it might be possible to give a more pertinent answer.
    Some examples involving numerical integration are provided in the paper "R├ęgressions et Equations Int├ęgrales" (not translated yet)
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook