切比雪夫窗函数

Skip to content

Help Center

搜索帮助中心

帮助中心

Off-Canvas Navigation Menu Toggle

chebwin

Chebyshev window

collapse all in page

Syntax

w = chebwin(L)

w = chebwin(L,r)

Description

example

w = chebwin(L) returns an L-point Chebyshev window.

w = chebwin(L,r) returns an L-point Chebyshev window using sidelobe magnitude factor r dB.

Examples

collapse all

Chebyshev Window

Try This ExampleCopy Code Copy Command

Create a 64-point Chebyshev window with 100 dB of sidelobe attenuation. Display the result using wvtool.

Get

复制代码
L = 64;
bw = chebwin(L);
wvtool(bw)

Input Arguments

collapse all

L --- Window length

positive integer

Window length, specified as a positive integer.

Data Types: single | double

r --- Sidelobe attenuation

100 dB (default) | positive real scalar

Sidelobe attenuation in dB, specified as a positive integer. The Chebyshev window has a Fourier transform magnitude r dB below the mainlobe magnitude.

Data Types: single | double

Output Arguments

collapse all

w --- Chebyshev window

column vector

Chebyshev window, returned as a column vector.

Note

If you specify a one-point window (L = 1), the value 1 is returned.

Tips

An artifact of the equiripple design method used in chebwin is the presence of impulses at the endpoints of the time-domain response. The impulses are due to the constant-level sidelobes in the frequency domain. The magnitude of the impulses are on the order of the size of the spectral sidelobes. If the sidelobes are large, the effect at the endpoints may be significant. For more information on this effect, see 2.

The equivalent noise bandwidth of a Chebyshev window does not grow monotonically with increasing sidelobe attenuation when the attenuation is smaller than about 45 dB. For spectral analysis, use larger sidelobe attenuation values, or, if you need to work with small attenuations, use a Kaiser window.

References

1 Digital Signal Processing Committee of the IEEE Acoustics, Speech, and Signal Processing Society, eds. Programs for Digital Signal Processing. New York: IEEE Press, 1979, program 5.2.

2 harris, fredric j. Multirate Signal Processing for Communication Systems. Upper Saddle River, NJ: Prentice Hall PTR, 2004, pp. 60--64.

Extended Capabilities

C/C++ Code Generation

Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced before R2006a

See Also

Apps

Functions

How useful was this information?

Unrated1 star2 stars3 stars4 stars5 stars

京公网安备 11010502045942号 京ICP备12052471号

© 1994-2024 The MathWorks, Inc.

关注我们

相关推荐
江屿风1 小时前
【C++笔记】【二叉搜索树】流食般投喂
开发语言·数据结构·c++·笔记
海绵天哥3 小时前
LeetCode Hot 100 | 链表(下)· 分组翻转与设计(C++ 题解)
c++·leetcode·链表
choumin3 小时前
行为型模式——中介者模式
c++·设计模式·中介者模式·行为型模式
Lee_jerome13 小时前
《C/C++编译全家桶:g++四阶段、.a与.so区别、CMake构建、ARM交叉编译,这篇全讲透了》
c语言·开发语言·arm开发·c++·编译·cmake·cmakelists
冰心孤城14 小时前
C++ 与 C#混合编程 示例 (基于VS)
java·c++·c#
一只旭宝17 小时前
C++手写shared_ptr共享智能指针|原子引用计数、强弱引用控制块、赋值重载底层深度剖析
开发语言·c++·面试
开发者联盟league18 小时前
Java 通过 JNA 调用 C++ DLL:关键流程总结
java·c++·jna
库克克19 小时前
【C++】智能指针
java·开发语言·c++
一拳一个呆瓜20 小时前
【STL】iostream 编程:输入流成员函数
c++·stl