Asymptotic Behavior of Sample Autocorrelation Function and Sample-based Power Spectral Density

Demonstrates ACF and PSD convergence to their true values as a function of data record length used.
509 Downloads
Updated 24 Jun 2014

View License

The sample autocorrelation function (SACF) is repeatedly calculated using an increasing number of data samples from different realizations of the same random process. Then, the PSD of the process is estimated using the SACF. The SACF is compared to it's true value and the same happens for the PSD. The rms error for both the ACF and PSD is calculated and ploted as a function of the number of samples used for their estimations. One demo is about a MA(2) random process and the other concerns an AR(2) process. This demo requires a powerful computer.

Cite As

Ilias Konsoulas (2024). Asymptotic Behavior of Sample Autocorrelation Function and Sample-based Power Spectral Density (https://www.mathworks.com/matlabcentral/fileexchange/47019-asymptotic-behavior-of-sample-autocorrelation-function-and-sample-based-power-spectral-density), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Parametric Spectral Estimation in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0