Autocorrelation Function of a time variant function

조회 수: 9 (최근 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 CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by