I have been given data for performance of a jet engine (can't share actual data) that for a set of altitudes and mach numbers gives a range of possible thrust values (min, max, and several datapoints in between). Each of these values has a corresponding fuel consumption value. Image a table for M0.25 at 10000ft containing thrust at 10, 40, 70, 100% throttle with a fuel consumption for each, repeated many times for diffferent combinations of mach and altidude.
I'm attemping to create a function that for a known altitude and mach (could be in between the tables I have) and a required thust (also could be in between the datapoints) will return the corresponding fuel consumption. I'm aware how to do basic interpolation in MATLAB, but I'm stuggling to conceptualise how the multiple layers of interpolation will work and none of the answers on here touch on how to handle the 'inverse interpolation' to find the required point on the thrust dataset and then extract the value at the corresponding point on the fuel consumtion dataset.
Can anyone suggest how best to lay this out or provide some starting points?