Member of the transforms class.
c = goertzel(a)
c = goertzel(a, b)
c = goertzel(a, b, d)
c = goertzel(a, [], d)
Computes the Goertzel transform. goertzel returns the discrete Fourier transform for a specified list of frequency bins. goertzel computes the discrete Fourier transform without using the FFT. If the list of specified frequency bins in b is large, the algorithm performs much slower than the FFT.
| Name | Description |
| a | Specifies a vector or matrix. |
| b | Specifies a list of frequency bins. If b is not specified, a complete DFT is provided. |
| d | Specifies the dimension of a in which LabVIEW performs the Goertzel transform. d is an integer. |
| [] | Tells LabVIEW that you want to specify a and d but not b. |
| Name | Description |
| c | Returns the Goertzel transform of a. If a is a vector, c = goertzel(a) returns the original discrete Fourier transform (DFT). If a is a matrix, c = goertzel(a) returns the column-wise discrete Fourier transforms of all columns of a but only for all specified frequency bins. c is a vector or matrix. |
A = [1, 2, 3, 4, 4, 3, 2, 1]
C = goertzel(A, 3)