Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

chebwin

Dolph-Chebyshev window coefficients


Description

Returns the filter coefficients of the n-point Dolph-Chebyshev window with a given attenuation.

Usage

chebwin(n, at)

Arguments

n

length of the filter; number of coefficients to generate.

at

dB of attenuation in the stop-band of the corresponding Fourier transform.

Details

The window is described in frequency domain by the expression:

W(k) = [Cheb(n-1, β * cos(pi * k/n))] / Cheb(n-1, β)

with

β = cosh(1/(n-1) * acosh(10^(at/20)))

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

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.

Value

An array of length n with the filter coefficients.

Author(s)

Original Octave version by André Carezia, acarezia@uol.com.br. Conversion to R by Tom Short.

References

Peter Lynch, “The Dolph-Chebyshev Window: A Simple Optimal Filter”, Monthly Weather Review, Vol. 125, pp. 655-660, April 1997. http://mathsci.ucd.ie/~plynch/Publications/Dolph.pdf

C. Dolph, “A current distribution for broadside arrays which optimizes the relationship between beam width and side-lobe level”, Proc. IEEE, 34, pp. 335-348.

Octave Forge http://octave.sf.net

See Also

Examples

plot(chebwin(50, 100))

signal

Signal Processing

v0.7-6
GPL-2
Authors
Uwe Ligges [aut, cre] (new maintainer), Tom Short [aut] (port to R), Paul Kienzle [aut] (majority of the original sources), Sarah Schnackenberg [ctb] (various test cases and bug fixes), David Billinghurst [ctb], Hans-Werner Borchers [ctb], Andre Carezia [ctb], Pascal Dupuis [ctb], John W. Eaton [ctb], E. Farhi [ctb], Kai Habel [ctb], Kurt Hornik [ctb], Sebastian Krey [ctb], Bill Lash [ctb], Friedrich Leisch [ctb], Olaf Mersmann [ctb], Paulo Neis [ctb], Jaakko Ruohio [ctb], Julius O. Smith III [ctb], Doug Stewart [ctb], Andreas Weingessel [ctb]
Initial release
2015-07-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.