mscohere for each frequency band_EEG data

9 ビュー (過去 30 日間)
belen calvo
belen calvo 2021 年 1 月 15 日
コメント済み: Star Strider 2021 年 1 月 16 日
Hi all,
I'am working with the following code to get coherence values. I get some values but how can I get the measure for each frequency band? I tried to define F as F=[8.05.13] for alpha and F= [1.0.5.4] for delta. However, I get exactly the same values for alpha and delta. Any help would be greatly appreciated.
ch1= 7 % left electrode
ch2= 48 % right electrode
window = 2*EEG.srate;
nooverlap = 0;
nfft =window*2;
fs= EEG.srate;
F= [8.05.13]% change this for different bands
[Cxy, F] = mscohere (EEG.data(ch1,;),(EEG.data(ch2,;)window, nooverlap,nftt,fs);
  5 件のコメント
belen calvo
belen calvo 2021 年 1 月 16 日
THANKS! yes, now I get different coherence values for each band. The only problem now is that I only get as output two values-I guess one for 8 and another one for 13 in F= [8 13]. I would like to get all the coherence values in the range going from 8 to 13 in that band (e.g. alpha). I tried F= [8:13] and it returns 6 values..not sure I'm picking what I want though. I'm gonna keep on reading about mscohere and papers that have used this function.
Star Strider
Star Strider 2021 年 1 月 16 日
My pleasure!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by