Phase Difference of Two Time Series and Phase Lag Index

조회 수: 30 (최근 30일)
Evan Haley
Evan Haley 2020년 7월 1일
답변: Kaniska Samanta 2021년 3월 3일
I am trying to calculate the Phase Lag Index of two time series recorded via EEG. The equation for PLI is described in this paper: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6871367/
The critical part of the equation is the phase difference, which I am not sure how to calculate in MATLAB. Any help would be appreciated!

답변 (1개)

Kaniska Samanta
Kaniska Samanta 2021년 3월 3일
Hi,
you can simply perform hilbert transform to map those timeseries into phase signals to get instanteneous phase information by calling the function 'hilbert' in matlab. Then you can measure the phase difference by subtracting one phase signal from another.
Good luck !!!

카테고리

Help CenterFile Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by