help needed with finding value in 2D data table using interpolation

1 view (last 30 days)
Hi,
I have already asked a very similar question (which was already solved) to this one before, see http://www.mathworks.com/matlabcentral/answers/79821-help-needed-with-finding-corresponding-index-values-for-given-table-value#answer_89563. Now the difference is, the system is solvable which was previously not the case.
So now i would like to do the following:
(again) i have a two-dimensional table (see http://pastebin.com/raw.php?i=p7DQrCKT) where i have in the table cells combustion temperatures (Tc) as function of a certain propellant mixture ratio (MR) (varying horizontally in table) and combustion chamber pressure (pc) (varying vertically in table).
what i would like to achieve is to find the MR for a given pc and Tc value. An additional catch is that the pc and TC values are most of the time not exactly the same as the pc and TC values in the table hence simple 'find' will not work; in other words the algorithm should interpolate between the available pc and Tc values in the table and then give the corresponding MR value.
thank you in advance! kind regards

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!