Skip to content

Efficient Bartlett estimation of the autocorrelation function in matlab/C++ via mex

License

Notifications You must be signed in to change notification settings

ember91/acf_est

Repository files navigation

Bartlett Autocorrelation Function Estimator

Quite fast Matlab mex Bartlett autocorrelation function estimator written in C++.

This was a fun project to do. The goal was to make the fastest autocorrelation estimator possible. So I made something really fast. It uses vectorization and multithreading for maximum performance. Unfortunately, I realized that doing autocorrelation function estimation by Fourier transforming the signal, multiplying the transform with its conjugate and then reverse transforming back is much faster. I like the code I wrote, though.

Definition

Bartlett estimation formula

where x is the discrete input signal and N its number of elements.

Authors

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

About

Efficient Bartlett estimation of the autocorrelation function in matlab/C++ via mex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published