spikes
spikes copied to clipboard
Update psthRasterAndCounts.m
Updated to the up-to-date matlab function histcounts. It receives an array of bin-edges (together with the data), and returns those same bin-edges.
The returned variable bins is an array of bin-centers.