how to plot auto correlation and cross correlation function in a single figure?
17 views (last 30 days)
while plotting the ACf and CCF i didnt get the negative side of Auto correlation fucntion. I am getting only positive side only.
[ACF,Lags,Bounds] = autocorr(x,nLags,nSTDs);
[XCF,Lag,Bound] = crosscorr(x,y,nLags,nSTDs);
i getting output like given figure. Help me to get the negative side of the ACF.