+ Reply to Thread
Results 1 to 9 of 9

3D Interpolation

  1. #1
    Registered User
    Join Date
    06-28-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    5

    3D Interpolation

    Hi all,

    I have an x, y, and z column. X and Y have thousands of points, while Z has a first and last. I want to fill in the rest of Z somehow (interpolation was my best guess). I'm filling in gaps in bathymetry data with "best guess" points. So far I have linearly interpolated z values using x and y separately, then averaging those two columns. There has to be a more accurate method.

    Any advice or code would be helpful.

    Thanks!

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: 3D Interpolation

    Can you upload example workbook? Make sure to remove private informations.
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    06-28-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: 3D Interpolation

    The bold is given.
    Attached Files Attached Files

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: 3D Interpolation

    On a first looks it's seems fine..
    What is your expected result?

  5. #5
    Registered User
    Join Date
    06-28-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: 3D Interpolation

    I don't think I'm getting a wrong answer. I was just wondering if there is a way to interpolate in 3 dimensions, rather than doing 2 linear interpolations and averaging them. I thought there may be a method that proved more accurate.

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: 3D Interpolation

    You can't because you missing one variable.
    For example if you have 3D like this gtgsissa.gif looking from "above" they look like all points are on same plane. You can not restore 3D from that plane. Therefore your average is as good as any other aproximation.

  7. #7
    Registered User
    Join Date
    06-28-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: 3D Interpolation

    So the two given Z values (-54.3 and -50.75) are not enough to fill in the missing ones?

  8. #8
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: 3D Interpolation

    If you have two points how can you know are other points in between: linear, sine, cube, spiral or something else?

    With 3rd point you could exlcude some (but not all)... More points you have more accurate interpolation you have.
    With just 2 linear interpolation is as good as any other.

  9. #9
    Registered User
    Join Date
    06-28-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: 3D Interpolation

    Ok, thanks!

+ 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