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

  • Thread starter berlinkind
  • Start date
  • #1
berlinkind
1
0
Hi,

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
[tex]
y=a_3*x^3+a_2*x^2+a_1*x+a_0
[/tex]

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 :-(

Thanks
 

Answers and Replies

  • #2
mXSCNT
315
1
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.
 

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

Replies
1
Views
421
Replies
3
Views
533
  • Last Post
Replies
0
Views
244
Replies
65
Views
692
Replies
7
Views
177
Replies
8
Views
580
  • Last Post
Replies
3
Views
630
  • Last Post
Replies
6
Views
390
Replies
4
Views
537
Replies
2
Views
667
Top