File Exchange

image thumbnail

Phase Locking Value

version (2.8 KB) by Praneeth Namburi
Computes the Phase Locking Value (PLV) for neuroelectric signals.


Updated 16 Aug 2011

View Version History

View License

Phase Locking Value (PLV) is a statistic that can be used to investigate task-induced changes in long range synchronization of neural activity. This method is introduced in Lachaux et al., (1999) Human Brain Mapping.

A visual summary of the method is shown in the 'Screenshot' file. Note that the baseline normalization procedure shown in the figure is not yet implemented in the script.

This particular implementation of estimating the PLV uses the Hilbert transform instead of wavelets.

To learn more, please read my blog entry -

Kindly let me know if you have any comments/suggestions!

Cite As

Praneeth Namburi (2021). Phase Locking Value (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (10)

Jae Moon

Thank you for this code, I found it tremendously helpful. I was wondering, do you know if there is a way to compute phase locking values of single trials? so I have 32 channels and 2000 samples and only 1 trial. Is this possible? If so, could you help?

xu duan

Idrisa Rahman

Would I be able to adapt this code to having two different inputs from two different data sets? Basically intrabrain data rather than interbrain data?

Yupeng Han

Thanks a lot!

Wenhao Huang

Meaghan Spedden

Farhad Mohit


Exactly what I need. Thanks a lot!

ahmed albakri

Hi friend , thank you very much
How can use this code if my eegData is 2D matrix not 3D matrix .
and thanks

Agatha lenartowicz

Clear usage examples and demo. Straightforward script that's intuitive with eeg data structure. Thanks for the implementation!

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