acfplot.m

compute and plot estimate of the autocorrelation of an input sequence
2.5K 次下载
更新时间 2009/5/10

查看许可证

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.

引用格式

Phillip M. Feldman (2024). acfplot.m (https://www.mathworks.com/matlabcentral/fileexchange/24065-acfplot-m), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0