I am trying to model a poisson process. When I histogram the inter-event times, the distribution is exponential. I want to prove that the simulation is Poissonian. How can I calculate the Fano-factor?I have a list of waiting times and spiketimes.
조회 수: 2 (최근 30일)
이전 댓글 표시
while duration <= Total_time
randNumbers = rand(1,1); IVI = -log(randNumbers)/rate;
SpikeTime = duration + IVI;
duration = duration + IVI; SpikeTimes = [SpikeTimes; SpikeTime];
counter = counter + 1;
IVI_hist(counter,1) = IVI;
end
figure(1) hist(IVI_hist, sqrt(length(IVI_hist)))
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Specialized Power Systems에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!