Autocorrelation Function of a time variant function

4 ビュー (過去 30 日間)
Tanupreet Kaur
Tanupreet Kaur 2014 年 4 月 3 日
回答済み: Azzi Abdelmalek 2014 年 4 月 3 日
i am trying to writethe autocorrelation function and the code is
n=-30:30;
=0.75;
deltas=(n==0);
input=acf(deltas);
output=input+a^(n+1)+a^(n-1);
rout=acf(output);
plot(n,rout,'filled');
grid on;
But it is giving an error Index exceeds matrix dimensions can anybody help?

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 4 月 3 日
The variable acf is not defined

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by