MATLAB Answers

why do I have an error on the length function?

2 views (last 30 days)
hi, I have a file of 70080 lines of which I want to obtain the autocorrelation graph, why do I get this error? I state that previously it worked, can anyone help me?
Also, can anyone give me clues as to what autocorrelation indicates? what is it for?


Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 26 Nov 2020
You do not have an error on the length function. You have an error on the lenght function.
length <- what you want
lenght <- what you have


Sign in to comment.

More Answers (2)

Giuseppe D'Amico
Giuseppe D'Amico on 26 Nov 2020
can you give me theoretical information on autocorrelation?
What are the lags?


John D'Errico
John D'Errico on 26 Nov 2020
Please don't use an answer just to ask another question. This is not even a question about MATLAB anyway.

Sign in to comment.





Community Treasure Hunt

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

Start Hunting!

Translated by