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)?

Antworten (1)

Bjorn Gustavsson
Bjorn Gustavsson am 16 Okt. 2019

0 Stimmen

Have a look at mscohere, and its help and documentation. It should allow you to calculate the coherence. My version resides in the signal processing toolbox. If you don't have that toolbox, I think you'd have to write your own versions of
spectrogram, and related functions, that will be a bit of a bother but shouldn't be toooooo hard if your application allows you to be a bit less general than Mathworks has to be.
HTH

1 Kommentar

Hinna Ahmed
Hinna Ahmed am 21 Okt. 2019
Thank you very much. I have tried wih mscohere but it is not possible. I want to generate a similar image as shown below.
pic.png

Melden Sie sich an, um zu kommentieren.

Tags

Gefragt:

am 16 Okt. 2019

Kommentiert:

am 21 Okt. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by