Spike-signal coherence

Obtain a measure of coherence as a function of frequency (Hz) between a set of spike times and a continuous signal.
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 (2024). 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
Find more on Fourier Analysis and Filtering in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes