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 Exchange에서 Medical 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