Signal Processing Toolbox    
czt

Chirp z-transform.

Syntax

Description

y = czt(x,m,w,a) returns the chirp z-transform of signal x. The chirp z-transform is the z-transform of x along a spiral contour defined by w and a. m is a scalar that specifies the length of the transform, w is the ratio between points along the z-plane spiral contour of interest, and scalar a is the complex starting point on that contour. The contour, a spiral or "chirp" in the z-plane, is given by

y = czt(x) uses the following default values:

With these defaults, czt returns the z-transform of x at m equally spaced points around the unit circle. This is equivalent to the discrete Fourier transform of x, or fft(x). The empty matrix [] specifies the default value for a parameter.

If x is a matrix, czt(x,m,w,a) transforms the columns of x.

Examples

Create a random vector x of length 1013 and compute its DFT using czt. This is faster than the fft function on the same sequence.

Use czt to zoom in on a narrow-band section (100 to 150 Hz) of a filter's frequency response. First design the filter.

Establish frequency and CZT parameters.

Compute both the DFT and CZT of the filter.

Create frequency vectors and compare the results.

Algorithm

czt uses the next power-of-2 length FFT to perform a fast convolution when computing the z-transform on a specified chirp contour [1]. czt can be significantly faster than fft for large, prime-length sequences.

Diagnostics

If m, w, or a is not a scalar, czt gives the following error message.

See Also
fft
Compute the one-dimensional fast Fourier Transform.
freqz
Compute the frequency response for digital filters.

References

[1] Rabiner, L.R., and B. Gold. Theory and Application of Digital Signal Processing. Englewood Cliffs, NJ: Prentice-Hall, 1975. Pgs. 393-399.


 csd dct