########################################################### # A simple FitzHugh-Nagumo model # # f(u) = a (u-u^3/3) # ########################################################### # # ########################################################### # Problem definition ########################################################### # # parameter values defining model # p a=1,gam=0.5,eps=0.02,i=-2 # # Hopf points at i=-1.323 and 1.323 # # function definitions # f(v)=a*(v-v^3/3) # # differential equations # v'=(f(v)-w+i)/eps w'=v-gam*w # # initial conditions (optional) # v(0)=-1.2879 w(0)=-2.5758 # @ total=4,xlo=-2,xhi=2,ylo=-3,yhi=1,dt=0.005 # d