Windowing functions(signal)
Windowing functions()所属R语言包:signal
Windowing functions
窗口功能
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A variety of generally Matlab/Octave compatible filter generation functions, including Bartlett, Blackman, Hamming, Hanning, and triangular.
各种一般MATLAB /倍频程的兼容过滤器生成功能,包括巴特利特,布莱克曼,汉明,汉宁窗,三角。
用法----------Usage----------
bartlett(n)
blackman(n)
boxcar(n)
flattopwin(n, sym = c('symmetric', 'periodic'))
gausswin(n, w = 2.5)
hamming(n)
hanning(n)
triang(n)
参数----------Arguments----------
参数:n
length of the filter; number of coefficients to generate.
的过滤器长度;要生成的系数的数量。
参数:w
the reciprocal of the standard deviation for gausswin. Use larger a for a narrower window.
倒数的标准差gausswin。使用较大的a更窄的窗口。
参数:sym
'symmetric' for a symmetric window, 'periodic' for a periodic window.
'symmetric'的对称窗口,'periodic'为一个周期窗口。
Details
详细信息----------Details----------
triang, unlike the bartlett window, does not go to zero at the edges of the window. For odd n, triang(n) is equal to bartlett(n+2) except for the zeros at the edges of the window.
triang,不像巴特利特窗口,不返回到零的边缘处的窗口。对于奇数n,triang(n)是等于bartlett(n+2)除了在窗口的边缘处的零点。
A main use of flattopwin is for calibration, due to its negligible amplitude errors. This window has low pass-band ripple, but high bandwidth.
一个flattopwin的主要用途是进行校准,由于微不足道的幅度误差。这个窗口具有低通带纹波,但高带宽。
值----------Value----------
Filter coefficients.
过滤系数。
(作者)----------Author(s)----------
Original Octave versions by Paul Kienzle (<code>boxcar</code>,
<code>gausswin</code>, <code>triang</code>) and Andreas Weingessel
(<code>bartlett</code>, <code>blackman</code>, <code>hamming</code>, <code>hanning</code>).
Conversion to R by Tom Short.
参考文献----------References----------
analysis (Part I)”, Bruel & Kjaer Technical Review No. 3.
参见----------See Also----------
filter, fftfilt,
filter,fftfilt,
实例----------Examples----------
n <- 51
op <- par(mfrow = c(3,3))
plot(bartlett(n), type = "l", ylim = c(0,1))
plot(blackman(n), type = "l", ylim = c(0,1))
plot(boxcar(n), type = "l", ylim = c(0,1))
plot(flattopwin(n), type = "l", ylim = c(0,1))
plot(gausswin(n, 5), type = "l", ylim = c(0,1))
plot(hanning(n), type = "l", ylim = c(0,1))
plot(hamming(n), type = "l", ylim = c(0,1))
plot(triang(n), type = "l", ylim = c(0,1))
par(op)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|