View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Time-Varying EEG Connectivity: A Time-Frequency Approach

5.0 | 1 rating Rate this file 30 Downloads (last 30 days) File Size: 79.5 KB File ID: #33721 Version: 1.3
image thumbnail

Time-Varying EEG Connectivity: A Time-Frequency Approach


Amir Omidvarnia (view profile)


10 Nov 2011 (Updated )

The package performs time-varying EEG connectivity analysis on a simulated data and an EEG sample.

| Watch this File

File Information

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.

Required Products MATLAB
MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
20 Oct 2013 mahmood k

first of all Thanks a heap.How can I average results for more than one data set (need PDC results for 6 patient's EEG data).Do i need to average 4-D matrix PDC_ST and then surrogate and ploting ?? please help!

Comment only
17 Sep 2013 Heba

Heba (view profile)

Hello every one, actually I'm trying to use that code but nothing is working, I don't know why, any suggestions please??

Thanks a lot in advance.

30 May 2012 Matthew Gerhold

This is really helpful, thanks man! Are you planning on adding the coherence function to the framwork in the future?

Comment only
10 May 2012 ahmed albakri


Comment only
12 Nov 2011 1.1

A new EEG sample obtained from EEGLAB toolbox ( was replaced with the previous EEG sample.

12 Nov 2011 1.3

Some minor changes were applied.

Contact us