Autocorrelation of given vector

2 vues (au cours des 30 derniers jours)
Murphy Davidson
Murphy Davidson le 6 Oct 2015
I have a vector w which is vector of turbulent wind samples. I need to find the sample auto-correlation of the vector, but it errs every time I try. Do I need to make w a timeseries? I found online that autocorr(w,n) (where n is the lag time) should give the correct answer, but it seems that Matlab doesn't even recognize the autocorr function.

Réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by