自己相関、相互相関について
Show older comments
1024個の加速度データの自己相関および相互相関を算出しています。 以下の部分までは算出できています。 グラフプロットの際に、縦軸が相関係数(0-1)、横軸がlagとなるようにプロットしたいのですが、わかりませんでした。 ご教授いただけないでしょうか? 宜しくお願い致します。
if true
% code
end
x = data(:,1);
y = data(:,2); %データ読み込み
r = xcorr(x,y) %相互相関
r = xcorr(x) %自己相関
Accepted Answer
More Answers (0)
Categories
Find more on 記述統計 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!