How to estimate a function that fit well with a curve

AI Thread Summary
To estimate a function that fits a curve well, users are exploring options beyond polynomial functions, particularly for graphs with significant variation. While a fourth-degree polynomial can provide a good fit in Excel, it struggles with steep or flat sections of the curve. Alternatives like LOESS and parametric cubic polynomials (e.g., Bezier curves) are suggested for better results. An Excel add-in with LOESS capabilities is also recommended for easier implementation. Overall, using more flexible fitting methods can yield superior curve approximations.
gibnem
Messages
3
Reaction score
0
hello
somme one know how to get the function that fit well with a curve
following is my curve:
[PLAIN]http://img814.imageshack.us/img814/5885/tempdepth.png

thx..:smile:
 
Last edited by a moderator:
Mathematics news on Phys.org
http://en.wikipedia.org/wiki/LOESS" ?
 
Last edited by a moderator:
yeh it could be...

i could create a function that fit very well withe that graph just in excel with a fourth polynomiale and i get the numerical expresion
but withe some other graphe with more variation the polynomiale function don't fit very good so I'm looking if i can found a softwar thar use other methodes (moving average, exp, or a mix of this methodes) to get a better curve fitting)
 
A polynomial is not going to deal well with either the nearly vertical part at high depths, or the nearly horizontal part at low depths. You might be able to fix that with an appropriate coordinate transformation, but a generic method like LOESS will likely produce better results with less effort.
 
Here is a link to an Excel add-in that claims to have LOESS capability.

http://www.fileguru.com/Data-Curve-Fit-Creator-Add-in/download

If I were doing this I'd consider some form of parametric cubic polynomials (e.g. Bezier) because they can handle vertical slopes.
 
Last edited:
oooh thank you hotvette
that give a really a very very good fitting
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...

Similar threads

Back
Top