Location: 12 L Platform 1 model codes @ 507ac7eefb10 / USMC / DM+Mijaailovich_huxley_copy / bindingfuncs.m

Author:
aram148 <a.rampadarath@auckland.ac.nz>
Date:
2021-10-11 21:43:42+13:00
Desc:
Create VSM - Exported.cellml
Permanent Source URI:
http://models.cellml.org/workspace/6b0/rawfile/507ac7eefb10930c9eb5d5d9a7113ad5203639bd/USMC/DM+Mijaailovich_huxley_copy/bindingfuncs.m

function [gx, gpx, fpx] = bindingfuncs(X)

h=1;
g1 = 0.0756;
gp1 = 0.0709;
fp1 = 0.2838;
g2=20.*g1;
gx=g2.*(X<0)+g1.*(X).*(X>=0 & X<=h)+ (g1).*(X>h);
gpx= 3*(fp1+gp1).*(X<0)+gp1.*(X).*(X>=0 & X<=h)+(4*gp1).*(X).*(X>h);
fpx=0.*(X<0)+fp1.*(X).*(X>=0 & X<=h)+0.*(X>h);