Interpolation within a data table
Ältere Kommentare anzeigen
I have a 12 X 12 table of Z-values, which are found against variable P(1:1:12) and X(25:25:300) as shown in table.I want to get the value of "Z" @ P=10.5 & X=115 via interpolation. your help is appreciated.

6 Kommentare
sixwwwwww
am 10 Okt. 2013
You problem is not clear because if your first column is 1:1:12 then first element in table is 1 and if your first row is 100:25:300 then first element in table is 100. How you have two values at first element in table? Can you please share your table to find out solution
Jan
am 10 Okt. 2013
What exactly is "a table"?
am
am 11 Okt. 2013
sixwwwwww
am 12 Okt. 2013
Hi can you send me the table?
Image Analyst
am 12 Okt. 2013
Bearbeitet: Image Analyst
am 12 Okt. 2013
Something is still not correct, despite your claim to have edited it to fix in. You say that the first column is x and is 100:25:300. Yet it seems to be 25:25:300 instead, since the numbers start at 25, not 100. Also the table is 13 columns if the first columns is X and there are 12 columns in addition to that. And if the first row is P and there are 12 rows in addition to that, then there are 13 rows, not 12. So is X and P actually columns/rows in the table as you said? Or are they separate column/row vectors and not part of the 12x12 table?
am
am 12 Okt. 2013
Antworten (1)
Image Analyst
am 12 Okt. 2013
0 Stimmen
Why not just use bilinear interpolation: http://en.wikipedia.org/wiki/Bilinear_interpolation. It's easy, intuitive, and straightforward.
1 Kommentar
am
am 12 Okt. 2013
Kategorien
Mehr zu Interpolation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
