rand_renewal_poisson

PURPOSE ^

interspike_interval = rand_renewal_poisson (firing_rate, dead_time)

SYNOPSIS ^

function interspk_interval = rand_renewal_poisson (firing_rate, dead_time)

DESCRIPTION ^

   interspike_interval = rand_renewal_poisson (firing_rate, dead_time)
RAND_POISSON generate a random variable which satisfis renewal poisson process;
   the distribution is p(t) = lamda*exp(-lamda*(t-t0)), t>0
                       where lamda is the firing_rate, t0 is the dead_time
Input:
    firing_rate   -   neuron firing rate, spikes/sec
    dead_time     -   absolute refractory period, second
Output:
    interspk_interval      -     interspike interval, second
See also:

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 03-Oct-2007 12:29:38 by m2html © 2003