+ Post New Thread + Reply to Thread
Results 1 to 5 of 5

Thread: any other method rather than polonomials for curve fitting?

  1. #1
    Full Member level 3
    Points: 2,181, Level: 10

    Join Date
    Nov 2007
    Posts
    187
    Helped
    0 / 0
    Points
    2,181
    Level
    10

    any other method rather than polonomials for curve fitting?

    i have y=f(x1,x2)
    i could draw 2 curves 1-y wrt x1 and 1- y wrt x2
    how i can find the equations?
    i know using curve fitting but can i find it in another form rather tha polynomial

    •   Alt 

      Advertising

      advertising

        
       

  2. #2
    Advanced Member level 3
    Points: 12,876, Level: 27

    Join Date
    Feb 2002
    Posts
    747
    Helped
    78 / 78
    Points
    12,876
    Level
    27

    Re: any other method rather than polonomials for curve fitt




  3. #3
    Super Moderator
    Points: 35,515, Level: 46
    flatulent's Avatar
    Join Date
    Jul 2002
    Location
    Middle Earth
    Posts
    4,538
    Helped
    341 / 341
    Points
    35,515
    Level
    46

    Re: any other method rather than polonomials for curve fitt

    The old HP pocket calculators had built in linear, exponential, and log fitting.



  4. #4
    Member level 5
    Points: 847, Level: 6

    Join Date
    Nov 2009
    Location
    Italy
    Posts
    80
    Helped
    16 / 16
    Points
    847
    Level
    6

    Re: any other method rather than polonomials for curve fitt

    I think you can try this on-line fitting tool:

    http://www.zunzun.com/

    regards,
    Alberto



  5. #5
    Newbie level 4
    Join Date
    Nov 2009
    Location
    Vancouver, WA
    Posts
    6
    Helped
    2 / 2

    Re: any other method rather than polonomials for curve fitt

    Quote Originally Posted by THUNDERRr
    i have y=f(x1,x2)
    i could draw 2 curves 1-y wrt x1 and 1- y wrt x2
    how i can find the equations?
    Hopefully you know the general form of the equation so you only need to find the coefficients.

    i know using curve fitting but can i find it in another form rather tha polynomial
    Using polynomials is the most general method if you have no clue what the form of the equations is. It takes a lot of processing power to find the coefficients because there are so many if you want to be accurate.

    VSWR posted a link. In that link is another link. I usually use the Levenberg-Marquardt algorithm.

    Log fitting such as y=x1*ln(x2) or exponential fitting y=x1*exp(x2) assume you now the general relationships or form of the equation.

    A polynomial that estimates both x1 and x2 with a 7th order polynomial would require finding 64 coefficients but the computer is doing the work.

    Programs such as Scilab(free) and Matlab have optimization routines that make it easy to find the coefficients of a polynomial. There are usually two forms of optimization functions. The L-M algoirthm and the BFGS or L-BFGS algorithm.
    Coding functions goes quickly. Waiting for the computer to find the coefficients that minimize the error between the estimating function and the actual data may take a while.

    If you do research and understand the physics of the data acquired then you should know the general form the equation. Otherwise use the brute force polynomial approach.



+ Post New Thread + Reply to Thread