Mostrar comentarios más antiguos
1024個の加速度データの自己相関および相互相関を算出しています。 以下の部分までは算出できています。 グラフプロットの際に、縦軸が相関係数(0-1)、横軸がlagとなるようにプロットしたいのですが、わかりませんでした。 ご教授いただけないでしょうか? 宜しくお願い致します。
if true
% code
end
x = data(:,1);
y = data(:,2); %データ読み込み
r = xcorr(x,y) %相互相関
r = xcorr(x) %自己相関
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre 記述統計 en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!