Problem with Autocorr/ACF function

조회 수: 4 (최근 30일)
maitreyi mandal
maitreyi mandal 2012년 1월 19일
댓글: the cyclist 2017년 9월 19일
Hi All I am a new MATLAB user, I am trying plot ACF functions for 12 lags, so basically I am using the following function: [ACF, lags, bounds] = autocorr(U, [], 12) bounds 0.0928 -0.0928 But i am getting an error message as follows
??? Undefined function or method 'autocorr' for input arguments of type 'double'.
Please provide some insight! Thank you so much!

답변 (1개)

the cyclist
the cyclist 2012년 1월 19일
autocorr() is a function in the Econometrics Toolbox, which is not part of core MATLAB. Are you sure you have that toolbox? What is the output of the command
which autocorr
  댓글 수: 2
Fiona Li
Fiona Li 2017년 9월 19일
what if I already have econometrics toolbox but still show the same error?
the cyclist
the cyclist 2017년 9월 19일
Does the command
ver
show that the toolbox is installed?
What does the command
which autocorr
show?
(Also, you might want to start a new question. Although it is related to this older one, it was pure luck that I happened to stumble on this comment on an old answer of mine, and probably no one else will notice it.)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 R Language에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by