grpdelay(signal)
grpdelay()所属R语言包:signal
Group delay of a filter or model
群延迟的过滤器或模型
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The group delay of a filter or model. The group delay is the time delay for a sinusoid at a given frequency.
的过滤器的群延迟或模型。群延迟是在一个给定的频率的正弦曲线的延迟时间。
用法----------Usage----------
## Default S3 method:[默认方法]
grpdelay(filt, a = 1, n = 512, whole = FALSE, Fs = NULL, ...)
## S3 method for class 'Arma'
grpdelay(filt, ...)
## S3 method for class 'Ma'
grpdelay(filt, ...)
## S3 method for class 'Zpg'
grpdelay(filt, ...)
## S3 method for class 'grpdelay'
plot(x, xlab = if(x$HzFlag) 'Hz' else 'radian/sample',
ylab = 'Group delay (samples)', type = "l", ...)
## S3 method for class 'grpdelay'
print(x, ...)
参数----------Arguments----------
参数:filt
for the default case, the moving-average coefficients of an ARMA model or filter. Generically, filt specifies an arbitrary model or filter operation.
默认情况下,移动平均系数ARMA模型或过滤器。一般地,filt指定的的任意模型或过滤器的操作。
参数:a
the autoregressive (recursive) coefficients of an ARMA filter.
自回归系数(递归)的ARMA过滤器。
参数:n
number of points at which to evaluate the frequency response.
在该点,以评估的频率响应的数目。
参数:whole
FALSE (the default) to evaluate around the upper half of the unit circle or TRUE to evaluate around the entire unit circle.
FALSE(默认值),以评估周围的上半部分在单位圆或TRUE,以评估围绕整个单位圆。
参数:Fs
sampling frequency in Hz. If not specified, the frequencies are in radians.
采样频率(Hz)。如果没有指定,其频率,单位为弧度。
参数:x
object to be plotted.
要绘制的对象。
参数:xlab,ylab,type
as in plot, but with more sensible defaults.
中plot,但更合理的默认值。
参数:...
for methods of grpdelay, arguments are passed to the default method. For plot.grpdelay, additional arguments are passed through to plot.
的方法中的grpdelay,参数传递给默认的方法。对于plot.grpdelay,额外的参数被传递到plot。
Details
详细信息----------Details----------
For fastest computation, n should factor into a small number of small primes.
为了达到最快的计算,n应该成一个小数目小的素数的因素。
If the denominator of the computation becomes too small, the group delay is set to zero. (The group delay approaches infinity when there are poles or zeros very close to the unit circle in the z plane.)
如果计算的分母变得太小,群延迟被设置为零。 (群延迟趋于无穷大时,有非常接近在Z平面的单位圆的极点或零)。
When results of grpdelay are printed, the group delay will be plotted. As with lattice plots, automatic printing does not work inside loops and function calls, so explicit calls to print or plot are needed there.
grpdelay打印,群延迟将被绘制。 lattice图,自动打印不工作的内循环和函数调用,调用print或plot都需要有这样明确的。
值----------Value----------
A list of class grpdelay with items:
类grpdelay项目列表:
参数:gd
the group delay, in units of samples. It can be converted to seconds by multiplying by the sampling period (or dividing by the sampling rate Fs).
,样本为单位的群延迟。它可以被转换为秒,通过乘以采样周期(或除以采样率Fs)。
参数:w
frequencies at which the group delay was calculated.
频率计算的群延迟。
参数:ns
number of points at which the group delay was calculated.
数点的群延迟计算。
参数:HzFlag
TRUE for frequencies in Hz, FALSE for frequencies in radians.
TRUE的频率,单位为Hz,FALSE弧度频率。
(作者)----------Author(s)----------
Original Octave version by Julius O. Smith III and Paul Kienzle. Conversion to R by Tom Short.
参考文献----------References----------
参见----------See Also----------
filter, Arma, freqz
filter,Arma,freqz
实例----------Examples----------
# Two Zeros and Two Poles[两个零点和两个极点]
b <- poly(c(1/0.9*exp(1i*pi*0.2), 0.9*exp(1i*pi*0.6)))
a <- poly(c(0.9*exp(-1i*pi*0.6), 1/0.9*exp(-1i*pi*0.2)))
gpd <- grpdelay(b, a, 512, whole = TRUE, Fs = 1)
print(gpd)
plot(gpd)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|