Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

goertzel (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the transforms class.

Syntax

c = goertzel(a)

c = goertzel(a, b)

c = goertzel(a, b, d)

c = goertzel(a, [], d)

Description

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.

Examples

Inputs

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.

Outputs

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.

Examples

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

Related Topics

fft
fft2
ifft
ifft2


Resources


 

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