Time-frequency spectral coherence analysis

Answers (2)

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

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.

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

Asked:

on 21 Oct 2019

Edited:

on 11 Mar 2020

Community Treasure Hunt

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

Start Hunting!