matname='../est_rev2_1206';
load(matname, 'bldimgtac', 'NTTAC', 'dur', 'scantm', 'orgbldtime', 'orgbldinp');
bldimgtac
NTTAC
dur
scantm
orgbldtime
orgbldinp
bldsamp_T=orgbldtime([27,30 end]);
bldsamp_V=orgbldinp([27,30 end]);
[samp_tm,inpfun]=inpbuild(bldimgtac,60*NTTAC,dur,scantm, bldsamp_T,bldsamp_V);
semilogx(samp_tm,inpfun)
hold on
plot(orgbldtime, orgbldinp,'ro-')
legend('estimated curve', 'blood samples')
H=gcf;
C=get(H,'children');
D=get(C,'children');
set(D{1},'LineWidth',4)
set(D{2},'LineWidth',4)
H1=legend;
set(H1,'FontSize',18)
set(H1,'FontWeight','bold')
set(H1,'Position',[0.52 0.7056 0.3900 0.2200])
Ha=gca;
set(Ha,'FontSize',16)
set(Ha,'LineWidth',4)
set(Ha,'Position',[0.1300 0.1100 0.79 0.8150])
bldimgtac =
Columns 1 through 7
0.0446 1.5101 3.2172 5.4715 2.7877 1.3972 1.6243
Columns 8 through 14
1.1334 0.8311 0.7721 0.4670 0.5999 0.6085 0.5513
Columns 15 through 21
0.4857 0.4843 0.4440 0.4417 0.4270 0.4350 0.4502
NTTAC =
Columns 1 through 7
0.0002 0.0019 0.0052 0.0107 0.0100 0.0102 0.0099
0.0002 0.0018 0.0047 0.0099 0.0103 0.0107 0.0100
0.0002 0.0017 0.0050 0.0105 0.0108 0.0115 0.0110
Columns 8 through 14
0.0087 0.0078 0.0053 0.0054 0.0053 0.0054 0.0062
0.0091 0.0080 0.0058 0.0060 0.0061 0.0064 0.0075
0.0103 0.0090 0.0067 0.0067 0.0070 0.0075 0.0090
Columns 15 through 21
0.0071 0.0079 0.0101 0.0117 0.0135 0.0156 0.0195
0.0085 0.0096 0.0125 0.0146 0.0168 0.0198 0.0249
0.0099 0.0113 0.0148 0.0176 0.0206 0.0242 0.0307
dur =
0.2000
0.0333
0.0333
0.0333
0.0333
0.0333
0.0333
0.0333
0.0333
0.1667
0.1667
0.2000
0.5000
1.0000
1.0000
1.5000
3.5000
5.0000
5.0000
10.0000
30.0000
scantm =
Columns 1 through 7
0.1000 0.2167 0.2500 0.2833 0.3167 0.3500 0.3833
Columns 8 through 14
0.4167 0.4500 0.5500 0.7167 0.9000 1.2500 2.0000
Columns 15 through 21
3.0000 4.2500 8.2500 12.5000 17.5000 25.0000 45.0000
orgbldtime =
0.0483
0.1439
0.2153
0.2842
0.3583
0.4219
0.4875
0.5600
0.6222
0.6892
0.7844
0.9303
1.0439
1.1861
1.3392
1.5083
1.6961
1.8561
2.0478
2.5625
3.0383
3.6581
4.3458
5.0542
6.1197
7.6272
10.7400
12.0619
15.9519
21.7703
24.3539
29.1911
39.7103
50.6136
59.3611
orgbldinp =
0.0002
0.0012
0.0021
1.3989
8.7839
8.5199
4.0751
1.7538
1.2307
1.4025
1.5906
1.2896
1.0590
1.0617
1.1939
1.1461
1.1778
1.1080
0.9834
0.9796
0.8984
0.8723
0.8027
0.7304
0.7286
0.6526
0.5840
0.5479
0.5062
0.4325
0.4177
0.3792
0.3293
0.2932
0.2653