What functions are best for approximating the Least Square Method?

  • Context: Undergrad 
  • Thread starter Thread starter aldrinkleys
  • Start date Start date
  • Tags Tags
    Method Square
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
aldrinkleys
Messages
15
Reaction score
0
SKVuM.jpg


Which families of functions should I use to approximate it?

I tried f(x) = a + bx + cx^2 + dx^3 + ex^4 + fx^5 + gx^6

a,b,c,d,e,f,g [tex]\in[/tex] R

And I got this:

eIOaD.jpg


but that curve ignores the hole between 50 and 80.
and this is important for me and f(x) is too long...



Can anyone help me?
 
Mathematics news on Phys.org
That fit is probably optimal if you want to fit all the data at the same time. You could break the data into two fits for better accuracy, however.
 
ah, I solved my problem =)I used Harmonic analysis

bgolb.jpg