1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

[Data regression] Levenberg-Marquardt BUT force to intersect 2 KNWON points

  1. Apr 15, 2009 #1

    I have a large data set (2D Coordinates with errors) and i am using the Levenberg-Marquardt method to estimate the best polynomial function.
    That part is working fine.

    Now in my data set are exactly two KNOWN data points that are 100% correct. Therefore I want my function to go through these two points and fit the curve considering the other datapoints.

    My polynom currently looks like

    One idea I had, was to weight the two known points with very high values. But the result still is not correct.

    Any Ideas – or maybe an idea of a totally other solution is welcome. I'm working more than a week on LM :-(

  2. jcsd
  3. Apr 15, 2009 #2
    Well, if your function must go through (x1, y1) and (x2, y2) exactly, then you can use those values to calculate a2 and a3, given a1 and a0 (find the formula for them by hand). So instead of optimizing a function in 4 parameters you just optimize a function in 2 parameters, a1 and a0.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook