Coherence as a function of time

Hey,
How is it possible in MATLAB to calculate Coherence as a function of time for two nonstationary signals (EEG) as shown on the below image. I want to genereate a similar one in matlab. Can someone please help me. I am very new to matlab so a code will help.
pic.png

2 Comments

I'm sure it's possible and perhaps for someone in your field, coherence has a very defined meaning. For us, who don't know what that means, an equation would be useful.
Hinna Ahmed
Hinna Ahmed on 21 Oct 2019
Edited: Hinna Ahmed on 21 Oct 2019
Here are the equations :D thank you! I have read that a multitaper moving window can be used. For this application, a 300 ms multitaper moving window can be used in time steps of 10 ms. I dont know how to implent it in matlab.

Sign in to comment.

Answers (0)

Asked:

on 21 Oct 2019

Edited:

on 21 Oct 2019

Community Treasure Hunt

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

Start Hunting!