Jump to content

File talk:Leakyintegrator.png

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Could somebody add labels to the axes please? I would find that very helpful. Thanks.

The thing is that this is just an example, not a real model.. x is timesteps, y is this node's activity.Miserlou (talk) 18:23, 20 November 2008 (UTC)[reply]
Would be nice to know what parameters were used...and this would be better as .svg file.134.106.240.91 (talk) 09:15, 22 January 2009 (UTC)[reply]

Is this a pulse input? i.e. x for 0-5, 0 for >5 ?? Willplatts (talk) 15:34, 24 May 2009 (UTC)[reply]

Please plot this on a log-log graph, and show your code. —Preceding unsigned comment added by 71.167.70.178 (talk) 16:16, 12 September 2009 (UTC)[reply]

Code

[edit]

I think this is it:

from pylab import * ##for graphing

ans = []

A = 1 deltaT = .5 x=0

for J in range(0,10):

   if(0<J<=5):
       I = 5
   else:
       I = 0
   x += (-1*A*x+I) * deltaT         ## x(t+delta t) = x(t) + (-Ax+I) * delta T
   ans.append(x)

plot(ans) grid(True) show()

Miserlou (talk) 22:58, 13 September 2009 (UTC)[reply]