Eigenvalues of a vector
The autocorrelation matrix is a Toeplitz symmetric matrix that can be formed as:

Rxx = toeplitz(xcorr(x));


and that should give you a sensible (square) matrix that can be passed to eig.