Time-frequency spectral coherence analysis

4 views (last 30 days)
Hinna Ahmed
Hinna Ahmed on 21 Oct 2019
Edited: Hinna Ahmed on 11 Mar 2020
I have solved it

Answers (2)

Kaashyap Pappu
Kaashyap Pappu on 24 Oct 2019
As has already been suggested by Daniel, the mscohere function can be used. If you are using a custom window, generate the vector for the coefficients of the window and provide the vector as the input for the “window” argument.
Hope this helps!
  1 Comment
Hinna Ahmed
Hinna Ahmed on 28 Oct 2019
i am new to matlab, so i am not sure that I understand your reply. mscohere dont have time as an output

Sign in to comment.


Daniel M
Daniel M on 24 Oct 2019
Have you looked at the MATLAB function mscohere?
Otherwise, you could try looking into this function in the spm12 toolbox: spm_eeg_ft_multitaper_coherence, found at https://github.com/neurodebian/spm12/blob/master/toolbox/MEEGtools/spm_eeg_ft_multitaper_coherence.m

Community Treasure Hunt

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

Start Hunting!