How can i find the fundamental frequency of the signal using the autocorrelation function?

79 views (last 30 days)
For example i create a signal that contains 250Hz frequency and assuming that we don't know the frequency of that signal, and our expected frequency must lie between 100-400 hertz, how can autocorrelation function xcorr() help me find the fundamental frequency which is equal to 250 hertz?

Answers (1)

Constantino Carlos Reyes-Aldasoro
Have you considered using the Fourier Transform to convert from time domain to Frequency domain? There you can find the highest peak and that would correspond to the fundamental frequency.

Community Treasure Hunt

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

Start Hunting!

Translated by