?? visohhred.m
字號:
function niso = Visohhred(vv, iext);% VISOHHRED - computes n(V) for the dV/dt=0 isocline for the reduced (2 variable) HH% model. Uses fdvdt103 to evaluate dV/dt. iext must be a scalar. vv can be% a vector. returns niso with same size as vv. niso=NaN where there is no% solution.% NOTE: sethhparms must be called to set params of hh model before this is% used (see fdvdt103()).nvrange = 0.3;for jv=1:length(vv) if fdvdt103(0, vv(jv), iext)*fdvdt103(1, vv(jv), iext)>=0 niso(jv) = NaN; % There is no solution here, return NaN else [niso(jv),fval,exitflag] = fzero('fdvdt103', nvrange, [], vv(jv), iext); if exitflag<0; niso(jv) = NaN; % Shouldn't happen, but one can never tell end endendreturn
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -