How can I interpolate this data?

Dear community,
For a project I have gathered the following data (see graph).
That is: for 3 phantom sizes (in this case) I have plotted the magnitude of a sinus (0-10) versus the measured phantom volume pulsation.
My question is, how can I use MATLAB to interpolate information from this data? I want to know for example what the expected volume pulsation is for a phantom with a diameter of 5.4 mm and a sinus magnitude of 7. Is this possible?
Thanks in advance.

 採用された回答

Andrei Bobrov
Andrei Bobrov 2013 年 10 月 25 日
編集済み: Andrei Bobrov 2013 年 10 月 25 日

1 投票

z = [13.33333 1.92982 0.42105
15.26316 1.92982 0.42105
15.96491 2.01754 0.70175
14.21053 2.80702 1.22807
17.36842 3.15789 1.40351
22.45614 3.64912 1.75439
17.89474 3.61404 1.92982
23.85965 3.64912 2.10526
25.61404 3.71930 2.70175
28.77193 3.78947 2.80702
31.92982 3.78947 3.15789].'; % volume pulsation (%)
x = 0:10; % magnitude of a sinus (%)
y = [2.4 7.2 14.4]; % diameter (mm)
[yy , xx] = ndgrid(y,x);
out = griddata(xx,yy,z,7,5.4);
or
out = interp2(xx,yy,z,7,5.4);

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMedical Physics についてさらに検索

タグ

質問済み:

2013 年 10 月 25 日

編集済み:

2013 年 10 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by