Autocorrelation Function of a time variant function
Show older comments
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?
Answers (1)
Azzi Abdelmalek
on 3 Apr 2014
0 votes
The variable acf is not defined
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!