Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

goertzel (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: transforms

Requires: MathScript RT Module


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.


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized


A = [1, 2, 3, 4, 4, 3, 2, 1]
C = goertzel(A, 3)

Related Topics



Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit