How to make an autocorrelogram using spike trains
11 views (last 30 days)
Show older comments
I am trying to make an autocorrelogram of my spike-train data, and all of the posts that I have found related to this matter thus far are outdated (or so I think). The responses I have found mention using xcorr(), however, that function no longer appears to exist on MATLAB 2015, since MATLAB always suggests corr() when I try to run it. Anyways, does anyone have any tips for how to do this? Furthermore, if any of you are savvy in the signal processing domain, I wouldn't mind picking your brain for some autocorrelogram tips. For instance, I am wondering what is an appropriate bin size to use, as well as how many lags to use. Thanks in advance.
4 Comments
Star Strider
on 16 Oct 2015
My pleasure!
I don’t use autocorrelation often enough to consider myself good at it, or I’d give a go at Answering your Question. Like most topics in data analysis, bin size, lags, and other parameters are dictated by the data, so are inherently heuristic. You just have to see what works best.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!