File Exchange

image thumbnail


version 2.0.0 (208 KB) by Mehdi BENSEDDIK
The Goertzel algorithm is a technic in digital signal processing (DSP) that provides a means for efficient evaluation of individual terms.


Updated 29 Mar 2019

GitHub view license on GitHub

Goertzel Algorithm :

I Created a sine wave with multiple frequencies f0 and f1 and I added some white noise tonto it. After that I applied the goertzel function to the noisy Signal. Additionally I calculate the probailities of detection of each frequency and plotted the average probabilities versus all frequencies detected.

Cite As

Mehdi BENSEDDIK (2019). Goertzel-Algorithm (, GitHub. Retrieved .

Comments and Ratings (3)

It's helpful, thank you !

I modified the contents of my Goertzel Algorithm repository, and I developed a script which it calculates the optimized Goertzel Algorithm.

This algorithm uses the native goertzel function in Matlab.
The algorithm is extremely simple and is similar to the Matlab example page ( ), making this algorithm redundant.



In the Goertzel Algorithm repository we have two scripts of the algorithm :
- First script rely on the predefined function.
- Second script : I wrote my own program relying on the standard Goertzel Algorithm which anyone can understand it.

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux