+ Reply to Thread
Results 1 to 6 of 6

Interpolating between lines

  1. #1
    Registered User
    Join Date
    08-25-2023
    Location
    london
    MS-Off Ver
    excel online
    Posts
    2

    Interpolating between lines

    Hi all,

    I am trying to digitize a performance graph for a single engine aircraft.

    I have used webplotdigitzer and ploty to extract the x,y values and find the equation for the lines.

    I am having trouble finding an accurate interpolation between the pressure altitudes. I've tried FORECAST.LINEAR and TREND but they are not accurate enough.

    What would you recommend on doing?

    Screenshot (308).png

    Thanks.
    Last edited by shackas; 09-09-2023 at 06:40 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Interpolating between lines

    1. We can do nothing with a picture. We need an Excel file.

    2. Whch lines? There are too many of them and no clear explanation as to where we should be looking and what you actually expect to see.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    08-25-2023
    Location
    london
    MS-Off Ver
    excel online
    Posts
    2

    Re: Interpolating between lines

    Sorry Glenn,

    Brain was a little tired last night and I rushed this post before I nodded off.

    Basically I am focusing on the far left side of the graph. The 7000ft, 6000ft, 4000ft, 2000ft and Sea Level lines.

    I have two inputs:
    1. Temperature
    2. Pressure altitude

    Temperature determines the x-axis.

    Pressure altitude determines the y-axis.

    What I am having trouble with is interpolating between the Pressure altitude lines.

    For example:
    A temperature of 0°C that gives an x value of 20.
    A pressure altitude of 3650 gives a y value of ????.


    I have attached a workbook which hopefully shows what I am trying to do.

    Thank you.
    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: Interpolating between lines

    Not sure exactly what you looking for.
    Does this interpolation helps?

    = 8.61662698516537*EXP(1.8225405785263*N48/10000)

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,774

    Re: Interpolating between lines

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not told us about this. You are required to do so. Cross-posts are allowed but you must provide a link to your posts on other sites.

    Please see Forum Rule #7 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important: https://excelguru.ca/a-message-to-forum-cross-posters/

    (Note: this requirement is not optional. As you are new here, I shall do it for you this time: https://www.mrexcel.com/board/thread...mials.1244843/)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,416

    Re: Interpolating between lines

    The thread title talks about interpolation, but most of the algorithm appears to be using a regression type of algorithm. After regressing parameters in J48:L52, you then calculate Y at each PA, then a linear regression algorithm (FORECAST.LINEAR() and TREND() both use the same basic linear regression algorithms) to find the final value.

    If you want to do linear interpolation on the values in N48:O52 to get the final value and are not limited to Excel as a spreadsheet, Gnumeric is a spreadsheet (native only to Linux OS) that has a built in INTERPOLATION() function that makes short work of linear (an other) interpolation problems.

    If you must use Excel and you really want more of an interpolation algorithm, my preferred approach to setting up an interpolation problem in Excel: https://www.excelforum.com/excel-for...ml#post5262186

    If I'm understanding what you are trying to do, see if any of that helps. If I'm not understanding, help us understand what you are trying to do and the algorithm you want to use to do it, and we should be able to help you program that algorithm into the spreadsheet.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Interpolating between degrees
    By StewartM in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2019, 04:25 PM
  2. Can somebody help me with interpolating a set of data
    By Tomato721 in forum Excel General
    Replies: 3
    Last Post: 08-19-2015, 08:43 AM
  3. interpolating factors
    By Farnarkler in forum Excel General
    Replies: 2
    Last Post: 01-20-2009, 12:31 PM
  4. interpolating
    By Farnarkler in forum Excel General
    Replies: 6
    Last Post: 10-16-2008, 09:19 AM
  5. [SOLVED] Interpolating an x, y point from known x's and y's
    By Steve in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2006, 03:10 PM
  6. [SOLVED] Interpolating an x, y point from known x's and y's
    By Steve in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-27-2006, 03:10 PM
  7. Interpolating an x, y point from known x's and y's
    By Steve in forum Excel General
    Replies: 1
    Last Post: 06-25-2006, 01:50 PM

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