powered by
sim.lif(n, I, C, R, Vth = 1, V0 = 0, bin = 5, dt = 0.05)
n
bin
list
n<- 500 set.seed(100) re <- sim.lif(n, rbinom(n, 1, 0.14), 7, 3)
Run the code above in your browser using DataLab