Problem with arguments when calling correlation dimension function
显示 更早的评论
Hello,
I am trying to calculate the correlation dimension of a given time series with dimension 10 and time lag 35 ms. According to this link https://es.mathworks.com/help/predmaint/ref/correlationdimension.html
I am typing corDim = correlationDimension(X,35,10) where X is my time series as a row vector, but I get the following error:
"Error using correlationDimension>parseAndValidateInputs (line 170)
Expected a string scalar or character vector for the parameter name"
The error doesn't appear when I call the function by giving X as the only argument. Does anybody know why? Shouldn't it work when specifying lag and dimension as well?
Thanks in advance.
Katerina
采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Correlation and Convolution 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!