+ Reply to Thread
Results 1 to 2 of 2

Expanding an array....Interpolation?

  1. #1
    Registered User
    Join Date
    11-13-2008
    Location
    Colorado
    Posts
    89

    Expanding an array....Interpolation?

    Hello all,

    I have a dataset like below:
    3, 5, 6, 7, 4

    I need to expand this dataset to 20 values. I would like to use a polynomial function to fit the curve.

    In reality I will have 500 datasets of 35 to 45 points. I will need to expand them all to 100 equally spaced data points. Optimally I would retain the first and last values from the smaller dataset (35-45 dataset) and interpolate 98 points on the curve between those endpoints. Can I type one function and have that function output an array of those 100 new values off of that curve?

    Thanks!!!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Can I type one function and have that function output an array of those 100 new values off of that curve?
    Not without VBA, but you can use LINEST to get a polynomial fit, list the values for which you want the interpolation, and use the coefficients from LINEST to generate them.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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