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
Hi Pavel Rajmic,
Nice code. I want this for n-dimensions. Is there a way to extend this code to multiple, or general n-dimensions. I am extremely interested in this, and would be very helpful for my application, if it can be extended to n-dimensions.
very useful for detecting frequencies that are not integer multiples of 1/N
I updated the link to the PDF. Thanks!
Create scripts with code, output, and formatted text in a single executable document.