Results 1 to 3 of 3

Math Help - Best Fit Curve Algorithm

  1. #1
    SFP
    SFP is offline
    Newbie
    Joined
    Jul 2011
    Posts
    2

    Best Fit Curve Algorithm

    Hi,
    I am currently studying a problem in which I am required to predict a response from a set data obtained from an electrical instrument from a set of data. I am looking for any advice on the best algorithm(s) to use to generate a best curve of the given data set. However the curve must statify several criteria:

    1) The curve must have be smooth.
    2) The curve below a certain is linear above this point the curve asymtotes parallel to the y-curve axis.
    3) The two curves (I think this is only way to achieve the above criteria point) needs to transition 'seemlessly' with little or no change in gradient between the two.
    4) The gradient of the curve above the set point should be constant and increasing.
    5) The curve must go through the last point in the data set.

    I have looked at most the usual options for modelling this but cannot find one that statifys all the above points, so would be grateful if anyone could point me in the right direction and let me know of any know pitfalls the suggested algorithm might have.

    Many Thanks

    Alex
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4

    Re: Best Fit Curve Algorithm

    Quote Originally Posted by SFP View Post
    Hi,
    I am currently studying a problem in which I am required to predict a response from a set data obtained from an electrical instrument from a set of data. I am looking for any advice on the best algorithm(s) to use to generate a best curve of the given data set. However the curve must statify several criteria:

    1) The curve must have be smooth.
    2) The curve below a certain is linear above this point the curve asymtotes parallel to the y-curve axis.
    3) The two curves (I think this is only way to achieve the above criteria point) needs to transition 'seemlessly' with little or no change in gradient between the two.
    4) The gradient of the curve above the set point should be constant and increasing.
    5) The curve must go through the last point in the data set.

    I have looked at most the usual options for modelling this but cannot find one that statifys all the above points, so would be grateful if anyone could point me in the right direction and let me know of any know pitfalls the suggested algorithm might have.

    Many Thanks

    Alex
    Look at cubic splines

    CB
    Follow Math Help Forum on Facebook and Google+

  3. #3
    SFP
    SFP is offline
    Newbie
    Joined
    Jul 2011
    Posts
    2

    Re: Best Fit Curve Algorithm

    Thanks for your quick reply CaptianBlack,
    I have been using cubic spline interpolation already for other applications and though mostly suitable for the above problem they don't tend to account for points that might be off the desired line and can't as far as I know be made to have a constant or increasing gradient. Does anyone know if there is any modified versions of this algorithm which allow you put certain contraints on the generated curves?

    Thanks

    Alex
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Curve Parameterization to Position Along Curve
    Posted in the Calculus Forum
    Replies: 0
    Last Post: August 17th 2011, 03:38 PM
  2. Finding a cosine curve from a sine curve?
    Posted in the Trigonometry Forum
    Replies: 1
    Last Post: November 29th 2009, 03:40 AM
  3. Square Root Curve (capped) vs. Bell Curve
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: January 4th 2009, 10:37 AM
  4. Stat Curve,, bimodal curve... HELP!!
    Posted in the Statistics Forum
    Replies: 0
    Last Post: November 29th 2008, 09:58 PM
  5. Replies: 8
    Last Post: October 8th 2007, 04:29 PM

Search Tags


/mathhelpforum @mathhelpforum