For two-dimensional table lookup,x1dandx2dmust be one-dimensional arrays, andfdmust be a matrix, with the size matching the dimensions defined by the input data sets. For example, ifx1dis a 1-by-marray, andx2dis a 1-by-narray, thenfdmust be anm-by-nmatrix. For three-dimensional ...
I was trying to provide a simple example. My actual data set is much larger and is strictly increasing in both axes. Anyway, I believe I have found a solution. It is a modification of the reverse look-up table discussed here: https://mathworks.com/matlabcentral/answers/12809-reverse-2d-...