chebwin function

Chebyshev window

Chebyshev window

Return the filter coefficients of a Dolph-Chebyshev window.

chebwin(n, at = 100)

Arguments

  • n: Window length, specified as a positive integer.
  • at: Stop-band attenuation in dB. Default: 100.

Returns

Chebyshev window, returned as a vector. If you specify a one-point window (n = 1), the value 1 is returned.

Details

The window is described in frequency domain by the expression:

with

and and Cheb(m,x)Cheb(m, x) denoting the mm-th order Chebyshev polynomial calculated at the point xx.

Note that the denominator in W(k) above is not computed, and after the inverse Fourier transform the window is scaled by making its maximum value unitary.

Examples

cw <- chebwin(64) plot (cw, type = "l", xlab = "Samples", ylab =" Amplitude")

Author(s)

André Carezia, acarezia@uol.com.br .

Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com .

  • Maintainer: Geert van Boxtel
  • License: GPL-3
  • Last published: 2024-09-11