切比雪夫窗函数

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 * [Window Designer](https://ww2.mathworks.cn/help/signal/ref/windowdesigner-app.html "Window Designer") #### Functions * [gausswin](https://ww2.mathworks.cn/help/signal/ref/gausswin.html "gausswin") \| [kaiser](https://ww2.mathworks.cn/help/signal/ref/kaiser.html "kaiser") \| [tukeywin](https://ww2.mathworks.cn/help/signal/ref/tukeywin.html "tukeywin") \| [WVTool](https://ww2.mathworks.cn/help/signal/ref/wvtool.html "WVTool") How useful was this information? Unrated1 star2 stars3 stars4 stars5 stars * [中国](https://ww2.mathworks.cn/help/signal/ref/chebwin.html# "中国") * [信任中心](https://ww2.mathworks.cn/company/aboutus/policies_statements/trust-center.html?s_tid=gf_tc "信任中心") * [商标](https://ww2.mathworks.cn/company/aboutus/policies_statements/trademarks.html?s_tid=gf_trd "商标") * [隐私权政策](https://ww2.mathworks.cn/company/aboutus/policies_statements.html?s_tid=gf_priv "隐私权政策") * [防盗版](https://ww2.mathworks.cn/company/aboutus/policies_statements/piracy.html?s_tid=gf_pir "防盗版") * [应用状态](https://status.mathworks.com/?s_tid=gf_application "应用状态") ![](https://file.jishuzhan.net/article/1777251040484134914/3fd64a945dab987074372a4eeae086ec.webp) [京公网安备 11010502045942号](http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010502045942 "京公网安备 11010502045942号") [京ICP备12052471号](https://beian.miit.gov.cn/ "京ICP备12052471号") © 1994-2024 The MathWorks, Inc. * [![Weibo](https://file.jishuzhan.net/article/1777251040484134914/34a36df685abd11ce633b01dfd1fa850.webp)](http://www.weibo.com/mathworks) * [![WeChat](https://file.jishuzhan.net/article/1777251040484134914/34a36df685abd11ce633b01dfd1fa850.webp)](https://ww2.mathworks.cn/help/signal/ref/chebwin.html#) * [![Bilibili](https://file.jishuzhan.net/article/1777251040484134914/34a36df685abd11ce633b01dfd1fa850.webp)](https://space.bilibili.com/1768836923) * [![Youku](https://file.jishuzhan.net/article/1777251040484134914/34a36df685abd11ce633b01dfd1fa850.webp)](https://i.youku.com/mathworks) * [![LinkedIn](https://file.jishuzhan.net/article/1777251040484134914/34a36df685abd11ce633b01dfd1fa850.webp)](https://www.linkedin.com/company/the-mathworks_2) * [![RSS](https://file.jishuzhan.net/article/1777251040484134914/34a36df685abd11ce633b01dfd1fa850.webp)](https://ww2.mathworks.cn/company/rss.html) *关注我们*

相关推荐
姜君竹17 分钟前
QT的工程文件.pro文件
开发语言·c++·qt·系统架构
思捻如枫20 分钟前
C++数据结构和算法代码模板总结——算法部分
数据结构·c++
weixin_478689761 小时前
C++ 对 C 的兼容性
java·c语言·c++
k要开心1 小时前
C++概念以及基础框架语法
开发语言·c++
weixin_307779132 小时前
Linux下GCC和C++实现统计Clickhouse数据仓库指定表中各字段的空值、空字符串或零值比例
linux·运维·c++·数据仓库·clickhouse
秦少游在淮海3 小时前
C++ - string 的使用 #auto #范围for #访问及遍历操作 #容量操作 #修改操作 #其他操作 #非成员函数
开发语言·c++·stl·string·范围for·auto·string 的使用
const5443 小时前
cpp自学 day2(—>运算符)
开发语言·c++
虾球xz3 小时前
CppCon 2015 学习:CLANG/C2 for Windows
开发语言·c++·windows·学习
CodeWithMe4 小时前
【C/C++】namespace + macro混用场景
c语言·开发语言·c++
SuperCandyXu4 小时前
leetcode2368. 受限条件下可到达节点的数目-medium
数据结构·c++·算法·leetcode