Generalized Goertzel algorithm

version (3.14 KB) by Pavel Rajmic
Goertzel algorithm generalized to non-integral multiples of fundamental frequency.


Updated 7 Mar 2012

View License

The conventional Goertzel Algorithm can be used to compute individual DFT coefficients. In case we need to compute some values of DTFT (that means, non-integer multiples of the fundamental frequency), slight modification must be done.

There are two files: the conventional and generalized Goertzel algorithm. No toolboxes needed.

The algorithm and its derivation is described in the article accesible at

Cite As

Pavel Rajmic (2022). Generalized Goertzel algorithm (, MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!