Autocorrelation Function of a time variant function

4 visualizaciones (últimos 30 días)
Tanupreet Kaur
Tanupreet Kaur el 3 de Abr. de 2014
Respondida: Azzi Abdelmalek el 3 de Abr. de 2014
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?

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 3 de Abr. de 2014
The variable acf is not defined

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by