Location: Hodgkin & Huxley (1952) model @ 9d4fea2a1b0b / BG / scripts_BG / HH_gate_m.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-03-22 11:47:01+13:00
Desc:
Revert Acap to 0.3
Permanent Source URI:
https://staging.physiomeproject.org/workspace/64f/rawfile/9d4fea2a1b0b60f3c636a2acd2a3c0400c93a8d7/BG/scripts_BG/HH_gate_m.m

function [alpha_m,beta_m]=HH_gate_m(V,phi)

alpha_m = 0.1 .* (V + 25) .* phi ./ (exp( (V + 25) ./ 10) -1 );
beta_m = 4 .* exp( V ./ 18 ) .* phi;
TF = isnan(alpha_m); % handle /0
alpha_m(TF)=1;
end