⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 velocity_ggap.m

📁 基于Matlab的心肌细胞动作电位模型程序
💻 M
字号:
clear, clf;Constant;i = 1;for numGgap = 300:5:400  Ggap = 1000*numGgap*50*10^(-12)/(0.767*10^(-4));   % longitudinal  [t,VA,iNaA,isiA,iKA,iK1A,iKpA,ibA,VB,iNaB,isiB,iKB,iK1B,iKpB,ibB] ...      = Coupling(450,-30,20,22,5.4,0,0,0,5.4);    dVA = diff(VA);  dt = diff(t);  dVAdt = dVA./dt;  [dVAdtmaxx, dVAdtmaxI] = max(dVAdt);    dVB = diff(VB);  dt = diff(t);  dVBdt = dVB./dt;  [dVBdtmaxx, dVBdtmaxI] = max(dVBdt);    GGAP(i) = Ggap;  Velocity(i)  = 0.1/(t(dVBdtmaxI)-t(dVAdtmaxI));  dVAdtmax(i) = dVAdtmaxx;  dVBdtmax(i) = dVBdtmaxx;  i = i+1;end;subplot(2,1,1),plot(300:5:400,Velocity,'*');ylabel('Velocity (m/s)');Ggap = 1000*50*340*10^(-12)/(0.767*10^(-4));   % longitudinalxlabel('Number of Gap Junctions');[t,VA,iNaA,isiA,iKA,iK1A,iKpA,ibA,VB,iNaB,isiB,iKB,iK1B,iKpB,ibB] ...    = Coupling(450,-30,20,22,5.4,0,0,0,5.4);subplot(2,1,2)plot(t,VA,'r-',t,VB,'b-');ylabel('V(mV)');xlabel('Time (ms)');% subplot(2,1,2),%plot(120:1:140,dVAdtmax,'r*',120:1:140,dVBdtmax,'yo');% ylabel('(dV/dt)max (m/s)');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -