+ Reply to Thread
Results 1 to 17 of 17

Linear interpolation of large data sets

Hybrid View

  1. #1
    Registered User
    Join Date
    04-02-2012
    Location
    Toledo, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Linear interpolation of large data sets

    Sure thing. The relationship looks like this:

    First, you take the difference between the desired value and the lower value of the data the desired value resides between, and divide it by the difference between the higher value and the lower value that describe the region the desired value lies within, ie:

    (211-210.778)/(212.268-210.778)

    This gives the point along the line between the higher and lower values that the value you want lies at as a percentage. You then apply that percentage to the linear relationship of the related data for n and k. A reasonable explanation is found on the wikipedia page for interpolation. This is Linear interpolation.

  2. #2
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Linear interpolation of large data sets

    Quote Originally Posted by Avren View Post
    Sure thing. The relationship looks like this:

    First, you take the difference between the desired value and the lower value of the data the desired value resides between, and divide it by the difference between the higher value and the lower value that describe the region the desired value lies within, ie:

    (211-210.778)/(212.268-210.778)

    This gives the point along the line between the higher and lower values that the value you want lies at as a percentage. You then apply that percentage to the linear relationship of the related data for n and k. A reasonable explanation is found on the wikipedia page for interpolation. This is Linear interpolation.
    Are you then not assuming a linear relationship between nm, n and k? That was the reason for me asking the above question; it might not be linear. In any case, if it is linear, then, assuming your data starts in A1, in D1:

    =B1+(B2-B1)*(ROUND($A1,0)-$A1)/($A2-$A1)

    Copy down and to the right. Does it work?
    Sincerely
    S?ren Larsen

    "Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1