切比雪夫窗函数

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.

关注我们

相关推荐
王老师青少年编程8 小时前
2025年【江苏“信息与未来”编程思维】真题及题解(T2:坐标变换)
c++·题解·真题·坐标变换·编程思维·江苏·信息与未来
2023自学中12 小时前
C++ 内存追踪器
linux·c++
DogDaoDao16 小时前
【GitHub】 LLVM Project 深度解析:现代编译器基础设施的基石
java·c++·python·程序员·github·编译器·llvm
KuaCpp16 小时前
C++进程(下)
c++
来一碗刘肉面17 小时前
C++中的引用语法
c++·算法
杜子不疼.17 小时前
【Qt初识】工程起步:项目创建、代码解读与对象树
数据库·c++·qt
知无不研18 小时前
算法:Fizz Buzz解题思路
c++·算法·leetcode
汉克老师18 小时前
GESP2026年6月认证C++八级( 第二部分判断题(1-10))精讲
c++·归并排序·dijkstra·二分·互斥·gesp8级·可重复组合
nianniannnn19 小时前
c++复习自存--流、异常处理、多线程与C++工程规范
开发语言·c++
诚信定制83919 小时前
C++23新特性实战与CLion深度支持
开发语言·c++·算法