Borrar filtros
Borrar filtros

Phase Difference of Two Time Series and Phase Lag Index

21 visualizaciones (últimos 30 días)
Evan Haley
Evan Haley el 1 de Jul. de 2020
Respondida: Kaniska Samanta el 3 de Mzo. de 2021
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!

Respuestas (1)

Kaniska Samanta
Kaniska Samanta el 3 de Mzo. de 2021
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 !!!

Categorías

Más información sobre EEG/MEG/ECoG en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by