Autocorrelation function of data show now points in plot

I am having a problem with autocorr function.When i take autocorr of series it shows no data on a graph.Can anyone help me why plot is showing no data?

3 Comments

Yes, we almost certainly can, provided you show us your code. What function did you call to do the autocorrelation? What function did you call to do the display of the results?
I am using autocorr function of matlab
I do not have a function by the name "autocorr". Which toolbox is it in?

Sign in to comment.

Answers (1)

Are there Nans in your input?
A = 1:10, A(4) = NaN
B = xcorr(A) % → all NaNs

Categories

Asked:

on 24 May 2016

Edited:

on 25 May 2016

Community Treasure Hunt

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

Start Hunting!