wcoherenceで作成されたグラフについて
Show older comments
wcoherenceで作成されたグラフについて教えて下さい。
wcoherenceについて、理解を深める目的で以下のような例題を自作してwcoherenceでグラフを
作成してみました。
clc;clear;
t=0:0.1:300;
z1=sin(2*pi*t/50);
z2=sin(2*pi*t/50);
x1=sin(pi*t/50);
x2=sin(pi*t/50);
y1=z1+x1;
y2=z2+x2;
subplot(2,1,1)
plot(t,y1);
grid on
subplot(2,1,2)
plot(t,y2,'r');
grid on

figure;
wcoherence(y1,y2,10);

すると、最初(時刻0)から最後(時刻5分)まで一様に黄色で、右向きの→となっている
グラフが出現しました。
私は、周波数が0.01Hzと0.02Hzの部分に黄色い帯が出来るのでは無いかと考えていました。
なぜならば、y1もy2も0.01Hzと0.02Hzの正弦波を足し合わせて出来たものだったからです。
どうして全体が黄色い表示となるのかを教えて下さい。
よろしくお願い致します。
Accepted Answer
More Answers (0)
Categories
Find more on Wavelet Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!