autocorr - unable to use
Afficher commentaires plus anciens
When I used autocorr function in matlab, i got an error "Undefined function 'autocorr' for input arguments of type 'double'"
The error is repeated even for the same sample example from matlab website.
Can anyone tell me why ? (I have econometrics installed. I am using Matlab 2013b version)
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 27 Mai 2014
I don't see any such function in my MATLAB either. Try xcorr. If you use the same array twice, the cross correlation is an autocorrelation
crossCorrelation = xcorr(signal, signal); % 1D case
crossCorrelation = xcorr2(signal, signal); % 2D case
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!