clc;
n=1000
w=normrnd(0,1,n,1);
for i=3:n-2
v(i)=(sum(w(i-2:i+2)))/5;
end
plot(w,'r')
hold on % hold on command is used to plot
both w and v time series on same plot
plot(v,'b')
autocorr(v)
crosscorr(v,w)
Conclusion : here we can conclude from figures regenerated through samples that sample and theoretical autocovariance function is same
Consider the 5 point running mean where ut ~ NID(0, σ ), and let σ -1....