Matematisk Model for Mavesækkens Tømning - Danmarks Tekniske ...
Matematisk Model for Mavesækkens Tømning - Danmarks Tekniske ... Matematisk Model for Mavesækkens Tømning - Danmarks Tekniske ...
112 MATLAB kode til simulering af forsøgsscenarie 44 [tx,Gx,Ix,Xx] = HovorkaModelSimulation2Pancreas... 45 (T(t+1):T(t+5),Xx,IV ins(t+1:t+5),IV glu(t+1:t+5),D(t+1:t+5),par); 46 Xx = Xx(end,:)'; 47 if Gx > BS 48 iv glu bolus = iv glu bolus − 0.5; 49 elseif Gx < BS 50 iv glu bolus = iv glu bolus + 0.5; 51 end 52 if iv glu bolus < 0 53 iv glu bolus = 0; 54 end 55 Tx = [Tx; tx(1)]; 56 G = [G; Gx(1)]; 57 I = [I; Ix(1)]; 58 X = [X; Xx(1)]; 59 end 60 61 % Plot of glucose concentration in plasma. 62 h = figure(1); 63 subplot(221) 64 plot([Tx(1) Tx(end)],[2.5 2.5],'r−',Tx,G,'b−','linewidth',2); grid; 65 xlabel('time [min]','fontsize',14); ylabel('G (mmol/L)','fontsize',14); 66 ylim([0 10]); xlim([Tx(1) Tx(end)]); 67 text(60,6,'\downarrow','fontsize',14) 68 hold on; 69 fill([Tx(1) Tx(end) Tx(end) Tx(1)],... 70 [70/par.MwG*10 70/par.MwG*10 140/par.MwG*10 140/par.MwG*10],... 71 'g','facealpha',0.2) 72 hold off 73 set(get(h,'CurrentAxes'),'fontsize',14) 74 legend('Target value of BS','Actual value of BS','Location','NorthEast') 75 76 % Plot of insulin concentration in plasma. 77 subplot(222) 78 plot(Tx,I,'b−','linewidth',2); grid; 79 xlabel('time [min]','fontsize',14); ylabel('I (mU/L)','fontsize',14); 80 xlim([Tx(1) Tx(end)]); 81 set(get(h,'CurrentAxes'),'fontsize',14) 82 83 % Plot of oral glucose load and iv glucose infusion. 84 T=T/60; 85 subplot(223) 86 stairs(T,D,'b−','linewidth',2) 87 hold on 88 stairs(T,IV glu,'m−','linewidth',2); grid; 89 xlabel('time [hr]','fontsize',14); ylabel('Glucose (g/min)','fontsize',14); 90 xlim([T(1) T(end)]); ylim([0 8]); 91 text(2.9,5,['Total glucose = ' num2str(sum(IV glu)) 'g'],'fontsize',12) 92 set(get(h,'CurrentAxes'),'fontsize',14) 93 legend('Meal','IV glucose','Location','NorthEast') 94 95 % Plot of insulin infusion. 96 subplot(224) 97 stairs(T,IV ins,'b−','linewidth',2); grid; 98 xlabel('time [hr]','fontsize',14);
99 ylabel('Insulin infusion (mU/min)','fontsize',14); 100 xlim([T(1) T(end)]); ylim([0 41]); 101 set(get(h,'CurrentAxes'),'fontsize',14) 113
- Page 75 and 76: 5.5 Resume af Kapitel 5 61 5.5 Resu
- Page 77 and 78: Kapitel 6 Simulering af forsøgssce
- Page 79 and 80: 6.1 Hovorka modellen 65 ˙Q1(t) = U
- Page 81 and 82: 6.2 Implementering af model for bug
- Page 83 and 84: 6.2 Implementering af model for bug
- Page 85 and 86: 6.3 Simulering af clamp-forsøg 71
- Page 87 and 88: 6.3 Simulering af clamp-forsøg 73
- Page 89 and 90: 6.3 Simulering af clamp-forsøg 75
- Page 91 and 92: 6.4 Diskussion af simulering af cla
- Page 93 and 94: 6.5 Resume af Kapitel 6 79 ducerer
- Page 95 and 96: Kapitel 7 Konklusion I dette bachel
- Page 97 and 98: Bilag A MATLAB kode til kantfinding
- Page 99 and 100: 79 xlabel('Time [min]','fontsize',1
- Page 101 and 102: 22 if Data(i,j) ≥ cs 23 if Data(i
- Page 103 and 104: Bilag B MATLAB kode til fit af data
- Page 105 and 106: 82 t = 0:1:400; 83 Q = (1 + K*(t/te
- Page 107 and 108: Bilag C MATLAB kode til behandling
- Page 109 and 110: 79 % Plot of the model of Y with da
- Page 111 and 112: 189 %%%%%%%%%%%%%%%%%%%%%%%%% 1 par
- Page 113 and 114: 299 print('−dpng', '−loose', ['
- Page 115 and 116: Bilag D MATLAB kode til simulering
- Page 117 and 118: 13 % 14 % time : t [min] 103 15 % S
- Page 119 and 120: 105 123 Q2dot = Q12 − Q21 − Q2o
- Page 121 and 122: 41 % Modified 23.07.09 SW 107 42 %
- Page 123 and 124: 109 81 subplot(223) 82 stairs(T,D,'
- Page 125: 90 91 % Plot of iv insulin infusion
- Page 129 and 130: Bilag E Billeder fra forsøg med no
- Page 131 and 132: 117 Figur E.3: Her ses forsøgspers
- Page 133 and 134: Bilag F Formelle dokumenter i forbi
- Page 135 and 136: Komitéens reg.nr. (KF)____________
- Page 138 and 139: Formål Formålet med dette projekt
- Page 140 and 141: Forsøgsprocedure Efter forudgåend
- Page 142 and 143: Publikation Forsøgsresultaterne vi
- Page 144 and 145: Effekten af hypo-, normo- og hyperg
- Page 146 and 147: Driftsomkostninger og udgifter til
- Page 148 and 149: til at dosere indsprøjtningerne af
- Page 150 and 151: Følgende annonce indrykkes på int
- Page 152 and 153: 138 LITTERATUR [10] O. Goetze, A. S
- Page 154: 140 LITTERATUR [34] K. Vollmer, H.
99 ylabel('Insulin infusion (mU/min)','fontsize',14);<br />
100 xlim([T(1) T(end)]); ylim([0 41]);<br />
101 set(get(h,'CurrentAxes'),'fontsize',14)<br />
113