image thumbnail

Time-Varying EEG Connectivity: A Time-Frequency Approach

version (79.5 KB) by Amir Omidvarnia
The package performs time-varying EEG connectivity analysis on a simulated data and an EEG sample.


Updated 12 Nov 2011

View License

This package performs time-varying connectivity analysis on a simulated data and an EEG sample obtained from EEGLAB toolbox. Two time-frequency methods (short-time approach as well as Adaptive AR modelling) have been utilized to extract time-varying Partial Directed Coherence (PDC) and Directed Transfer Function (DTF) from the underlying signals. All scripts are easy to use, as they are heavily commented. The package is associated with the following reference:

A. Omidvarnia, M. Mesbah, J. M. O'Toole et al., “Analysis of the time-varying cortical neural connectivity in the newborn EEG: A time-frequency approach,” in Systems, Signal Processing and their applications (WOSSPA), 2011 7th International Workshop on, 2011, pp. 179-182.

The paper is available on IEEEXplore. You could also find it at the address below:

In the case you found the code useful for your work, please cite the above reference in your publications.

It is notable that the slightly altered versions of some functions from BioSig Toolbox ( and ARFIT toolbox ( have been used in this package. Please visit their websites for more details about their copyright licenses.

Cite As

Amir Omidvarnia (2022). Time-Varying EEG Connectivity: A Time-Frequency Approach (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
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!