File: nnet.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 (8 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
# The Wilson-Cowan neural net equations
# The phaseplane is fun to create
p w11=8,w12=-6,w21=10,w22=-1,tau=3
p s1=-2,s2=-6
f(x)= 1/(1+exp(-x))
x'= -x+f(w11*x+w12*y+s1)
y'= (-y+f(w21*x+w22*y+s2))/tau
d