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 Kommentare

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?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jos (10584)
Jos (10584) am 25 Mai 2016
Bearbeitet: Jos (10584) am 25 Mai 2016
Are there Nans in your input?
A = 1:10, A(4) = NaN
B = xcorr(A) % → all NaNs

Kategorien

Gefragt:

am 24 Mai 2016

Bearbeitet:

am 25 Mai 2016

Community Treasure Hunt

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

Start Hunting!

Translated by