Afficher commentaires plus anciens
1024個の加速度データの自己相関および相互相関を算出しています。 以下の部分までは算出できています。 グラフプロットの際に、縦軸が相関係数(0-1)、横軸がlagとなるようにプロットしたいのですが、わかりませんでした。 ご教授いただけないでしょうか? 宜しくお願い致します。
if true
% code
end
x = data(:,1);
y = data(:,2); %データ読み込み
r = xcorr(x,y) %相互相関
r = xcorr(x) %自己相関
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 記述統計 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!