File: wta.ode

package info (click to toggle)
xppaut 5.85-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 11,552 kB
  • ctags: 7,725
  • sloc: ansic: 80,633; cpp: 965; makefile: 265
file content (13 lines) | stat: -rw-r--r-- 383 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
# a model used by the author to study complex dynamics in winner
# take all neural networks change tau to 1.1 and then .25
p tau=3,aee=14,aei=15,aie=15,c=2,te=1,ti=8
f(x)= .5*(1+tanh(x))
x1'=-x1+f(aee*x1+c*x2-aie*u-te)
x2'=-x2+f(aee*x2+c*x3-aie*u-te)
x3'=-x3+f(aee*x3+c*x1-aie*u-te)
u'=(-u+f(aei*(x1+x2+x3)-ti))/tau
x1(0)=.3
x2(0)=.2
x3(0)=.1
@ dt=.1,total=200,xhi=200,ylo=0,yhi=1
d