How to calculate computing correlation coefficients with a sliding window?
1 次查看(过去 30 天)
显示 更早的评论
Hi, I have two time series data, for example:
t=0:0.01:1; y1=sin(2*pi*5*t); y2=-sin(2*pi*5*t);
I want to calculate the correlation coefficients between the two columns using 0.02s sliding window. I am trying to use corrcoef syntax, but I don't seem to be able to make it work. I tried several different ways of doing it but always without success... Can anybody tell me how to make this work?
Thanks for your help!
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!