切比雪夫窗函数

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.

关注我们

相关推荐
YYYing.40 分钟前
【设计模式系列 (七) 】桥接模式
c++·后端·设计模式·桥接模式
高山有多高2 小时前
【Linux笔记】Linux自定义Shell
linux·c++
悠仁さん2 小时前
【C++】vector 类
开发语言·c++
_upupup2 小时前
智能指针的原理及简单模拟实现(C++)
开发语言·c++
l1t2 小时前
DeepSeek总结的OpenZL压缩变换器
c++·算法
郝学胜-神的一滴2 小时前
C++ Templates 01:拨开迷雾,读懂C++模板经典著作
开发语言·c++·程序人生·游戏·游戏引擎·软件构建
坤坤子吖2 小时前
算法学习——高精度加减乘除
c++·笔记·学习·算法
朝朝辞暮i3 小时前
C++ 第 14 课:引用 &
开发语言·c++·算法
白山编程大哥3 小时前
适合初学者练习的 C/C++ 开源项目推荐
c语言·c++·开源
C++ 老炮儿的技术栈3 小时前
有符号变量与无符号变量的区别
服务器·开发语言·前端·数据结构·c++·算法·c