Spike-signal coherence

version 1.0.0 (3.6 KB) by Timothy Olsen
Obtain a measure of coherence as a function of frequency (Hz) between a set of spike times and a continuous signal.

145 Downloads

Updated 14 Sep 2019

View License

Obtains a measure of coherence between a set of spike times and a continuous signal (e.g. the local field potential - known as spike-field coherence), as a function of frequency (Hz). The coherence value is bound between 1 and 0, for a perfect and a complete lack of coherence respectively. In the case of spike-field coherence, a coherence value of 1 at a particular frequency indicates spikes perfectly phase locked to this frequency component within the local field potential. A full explanation of the function's usage is included within the function. Please feel free to get in contact for suggested improvements and/or the detection of bugs.

Cite As

Timothy Olsen (2022). Spike-signal coherence (https://www.mathworks.com/matlabcentral/fileexchange/72755-spike-signal-coherence), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!