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
ch2= 48
window = 2*EEG.srate;
nooverlap = 0;
nfft =window*2;
fs= EEG.srate;
F= [8.05.13]
[Cxy, F] = mscohere (EEG.data(ch1,;),(EEG.data(ch2,;)window, nooverlap,nftt,fs);
5 Comments
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/718225-mscohere-for-each-frequency-band_eeg-data#comment_1266350
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/718225-mscohere-for-each-frequency-band_eeg-data#comment_1266350
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/718225-mscohere-for-each-frequency-band_eeg-data#comment_1266385
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/718225-mscohere-for-each-frequency-band_eeg-data#comment_1266385
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/718225-mscohere-for-each-frequency-band_eeg-data#comment_1266395
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/718225-mscohere-for-each-frequency-band_eeg-data#comment_1266395
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/718225-mscohere-for-each-frequency-band_eeg-data#comment_1266420
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/718225-mscohere-for-each-frequency-band_eeg-data#comment_1266420
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/718225-mscohere-for-each-frequency-band_eeg-data#comment_1266450
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/718225-mscohere-for-each-frequency-band_eeg-data#comment_1266450
Sign in to comment.