fftfilt(signal)
fftfilt()所属R语言包:signal
Filters with an FIR filter using the FFT
过滤器的FIR滤波器使用FFT
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Filters with an FIR filter using the FFT.
过滤器使用FFT的FIR滤波器。
用法----------Usage----------
fftfilt(b, x, n = NULL)
FftFilter(b, n)
## S3 method for class 'FftFilter'
filter(filt, x, ...)
参数----------Arguments----------
参数:b
the moving-average (MA) coefficients of an FIR filter.
移动平均线(MA)的FIR滤波器的系数。
参数:x
the input signal to be filtered.
的输入信号进行过滤。
参数:n
if given, the length of the FFT window for the overlap-add method.
如果给出,长度的FFT窗口中的重叠相加的方法。
参数:filt
filter to apply to the signal.
过滤器应用到信号。
参数:...
additional arguments (ignored).
额外的参数(忽略)。
Details
详细信息----------Details----------
If n is not specified explicitly, we do not use the overlap-add method at all because loops are really slow. Otherwise, we only ensure that the number of points in the FFT is the smallest power
如果n没有指定明确的,我们不使用重叠相加的方法,因为在所有的循环是很慢的。否则,我们只能保证在FFT点数的数量是最小的功率
值----------Value----------
For fftfilt, the filtered signal, the same length as the input signal x.
对于fftfilt,滤波后的信号,作为输入信号x相同的长度。
For FftFilter, a filter of class FftFilter that can be used with filter.
对于FftFilter,一个过滤器类FftFilter可以使用filter。
(作者)----------Author(s)----------
Original Octave version by Kurt Hornik and John W. Eaton.
Conversion to R by Tom Short.
参考文献----------References----------
参见----------See Also----------
Ma, filter, fft, filtfilt
Ma,filter,fft,filtfilt
实例----------Examples----------
t <- seq(0, 1, len = 100) # 1 second sample[1第二个示例]
x <- sin(2*pi*t*2.3) + 0.25*rnorm(length(t)) # 2.3 Hz sinusoid+noise[2.3 Hz的正弦信号+噪声]
z <- fftfilt(rep(1, 10)/10, x) # apply 10-point averaging filter[适用于10点平均滤波器]
plot(t, x, type = "l")
lines(t, z, col = "red")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|