## Autocorrelation with matlab

How do i autocorrelate a vector v in MATLAB?

I just tried xcorr(v,v) then i plotted it as plot(x,v). But the plot looks like a pyramid. Compared to the examples in my study material i should get at least some kind of periodicity.