Problem with Autocorr/ACF function
3 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
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 个评论
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 Center 和 File Exchange 中查找有关 R Language 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!