找回密码
 注册
查看: 726|回复: 0

R语言 signal包 cheb1ord()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 02:08:14 | 显示全部楼层 |阅读模式
cheb1ord(signal)
cheb1ord()所属R语言包:signal

                                         Chebyshev type-I filter order and cutoff
                                         切比雪夫I型滤波器阶数和截止

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Compute discrete Chebyshev type-I filter order and cutoff for the desired response
计算离散切比雪夫I型滤波器的阶数和截止所需的响应


用法----------Usage----------


cheb1ord(Wp, Ws, Rp, Rs)



参数----------Arguments----------

参数:Wp, Ws
pass-band and stop-band edges. For a low-pass or high-pass filter, Wp and Ws are scalars. For a band-pass or band-rejection filter, both are vectors of length 2. For a low-pass filter, Wp < Ws. For a high-pass filter, Ws > Wp. For a band-pass (Ws[1] < Wp[1] < Wp[2] <     Ws[2]) or band-reject (Wp[1] < Ws[1] < Ws[2] < Wp[2]) filter design, Wp gives the edges of the pass band, and Ws gives the edges of the stop band. Frequencies are normalized to [0,1], corresponding to the range [0, Fs/2].  
通带和阻带的边缘。低通或高通滤波器,Wp和Ws是标量。对于一个带通或带阻滤波器中,两个向量的长度为2。对于一个低通滤波器,Wp < Ws。对于一个高通滤波器,Ws > Wp。对于带通(Ws[1] < Wp[1] < Wp[2] <     Ws[2])或带阻(Wp[1] < Ws[1] < Ws[2] < Wp[2])滤波器的设计,Wp给出的通带的边缘,和Ws给出的边缘阻带。频率被归一化到[0,1],对应的取值范围为[0,Fs / 2的]。


参数:Rp
allowable decibels of ripple in the pass band.  
允许分贝的通带中的纹波。


参数:Rs
minimum attenuation in the stop band in dB.  
以dB为单位的阻带中的最小衰减。


值----------Value----------

An object of class FilterOfOrder with the following list elements:
对象的类FilterOfOrder下面的列表元素:


参数:n
filter order  
滤波器的阶数


参数:Wc
cutoff frequency  
截止频率


参数:Rp
allowable decibels of ripple in the pass band  
在通带内的允许分贝纹波


参数:type
filter type, one of &ldquo;low&rdquo;, &ldquo;high&rdquo;, &ldquo;stop&rdquo;, or &ldquo;pass&rdquo;  
过滤器类型,一个“低”,“高”,“停止”,或“通行证”

This object can be passed directly to cheby1 to compute filter coefficients.
这个对象可以被直接传递给cheby1计算滤波器系数。


(作者)----------Author(s)----------


Original Octave version by Paul Kienzle,
<a href="mailto:pkienzle@user.sf.net">pkienzle@user.sf.net</a> and by Laurent S. Mazet. Conversion to R by Tom Short.



参考文献----------References----------



参见----------See Also----------

cheby1, FilterOfOrder, buttord
cheby1,FilterOfOrder,buttord


实例----------Examples----------


Fs <- 10000
chord <- cheb1ord(1000/(Fs/2), 1200/(Fs/2), 0.5, 29)
plot(c(0, 1000, 1000, 0, 0), c(0, 0, -0.5, -0.5, 0),
     type = "l", xlab = "Frequency (Hz)", ylab = "Attenuation (dB)")
ch1 <- cheby1(chord)
plot(c(0, 1000, 1000, 0, 0), c(0, 0, -0.5, -0.5, 0),
     type = "l", xlab = "Frequency (Hz)", ylab = "Attenuation (dB)",
     col = "red", ylim = c(-10,0), xlim = c(0,2000))
hf <- freqz(ch1, Fs = Fs)
lines(hf$f, 20*log10(abs(hf$h)))

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-22 19:28 , Processed in 0.023757 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表