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!