acfplot.m

compute and plot estimate of the autocorrelation of an input sequence
2,5K Downloads
Aktualisiert 10. Mai 2009

Lizenz anzeigen

acfplot calls autocov() to compute an extimate of the autocorrelation function (acf) of the input vector Y, and then plots the acf with the time axis labeled in units of either seconds or ms. Note: This function does not use the Statistics Toolbox.

Syntax:

acf= acfplot(Y, Fs, maxlag, titlestr)

Y is a column vector containing a sequence of samples. The remaining input arguments are optional. Fs specifies the sampling rate (samples per second); the default is 1. maxlag is the maximum lag for which the autocorrelation is to be computed; if no value is specified, a default value is generated by the function autocov. titlestr specifies a title to be printed at the top of the plot; the default is a null string.

Zitieren als

Phillip M. Feldman (2025). acfplot.m (https://www.mathworks.com/matlabcentral/fileexchange/24065-acfplot-m), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2008b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0