Why is Autocorrelation not working correctly??

hi,
please help!
I am trying to run autocorr function. it's located in C:\Program Files\MATLAB\R2014a\toolbox\econ\econ
however, the function returns:
"Undefined function 'autocorr' for input arguments of type 'double'."
please help!
S. O. S.

Respuestas (2)

Salman Salman
Salman Salman el 12 de Feb. de 2015

0 votos

Type in
which autocorr
at the command line and when you type
license('test','econometrics_toolbox')
you should see it return a value of 0 or 1. If it returns 0, then you don’t have the toolbox installed, if not then I suggest trying xcorr. By using the same array twice, the cross correlation should be equal to an autocorrelation.
crossCorrelation = xcorr(signal, signal); % This is the 1D case
crossCorrelation = xcorr2(signal, signal); % This is the 2D case

1 comentario

Ming Gao
Ming Gao el 12 de Feb. de 2015
I typed in
>> which autocorr C:\Program Files\MATLAB\R2014a\toolbox\econ\econ\autocorr.m % Has no license available
>> license('test', 'econometrics_toolbox')
ans = 0 But I tried typing in VER and shows the econometrics toolbox is installed!

Iniciar sesión para comentar.

Ming Gao
Ming Gao el 12 de Feb. de 2015
I typed in
>> which autocorr C:\Program Files\MATLAB\R2014a\toolbox\econ\econ\autocorr.m % Has no license available
>> license('test', 'econometrics_toolbox')
ans =
0
But I tried typing in VER and shows the econometrics toolbox is installed!

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 12 de Feb. de 2015

Comentada:

el 12 de Feb. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by