Location: cellLib @ 19a84bba8e35 / BG_fit / calc_gate_transitions.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2021-11-15 14:41:31+13:00
Desc:
correct the plot function
Permanent Source URI:
https://models.cellml.org/workspace/6bc/rawfile/19a84bba8e353d39457b67083980475bf9e140ed/BG_fit/calc_gate_transitions.m

function [alpha,beta] = calc_gate_transitions(params,V,T)
% params: [kf, zf, kr, zr];
R = 8.314;
F = 96485;

alpha = params(1)*exp(params(2)*F*V/R/T);
beta = params(3)*exp(params(4)*F*V/R/T);

end