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

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

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

                                         Signal processing
                                         信号处理

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

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

A set of generally Matlab/Octave-compatible signal processing functions. Includes filter generation utilities, filtering functions, resampling routines, and visualization of filter models. It also includes interpolation functions and some Matlab compatibility functions.
一般MATLAB /倍频兼容的信号处理功能的一组。包括发电设施过滤器,过滤功能,重采样例程,过滤器模型和可视化的。此外,还包括插值函数与一些Matlab的兼容性函数。


Details

详细信息----------Details----------

The main routines are:
的主要程序是:

Filtering: filter, fftfilt, filtfilt, medfilt1, sgolay, sgolayfilt
过滤:过滤器,fftfilt,filtfilt,medfilt1,sgolay,sgolayfilt

Resampling: interp, resample, decimate
重采样:INTERP,重采样,抽取

IIR filter design: bilinear, butter, buttord, cheb1ord, cheb2ord, cheby1, cheby2, ellip, ellipord, sftrans
IIR滤波器设计双线性,黄油,buttord,cheb1ord,cheb2ord,cheby1,cheby2,椭球,ellipord,sftrans

FIR filter design: fir1, fir2, remez, kaiserord, spencer
FIR滤波器设计:FIR1,FIR2,斯宾塞,kaiserord,雷米兹

Interpolation: interp1, pchip
插值:interp1,PCHIP

Compatibility routines and utilities: ifft, sinc, postpad, chirp, poly, polyval
兼容性的例程和公用事业:正弦,IFFT,postpad,啁啾,聚,polyval

Windowing: bartlett, blackman, boxcar, flattopwin, gausswin, hamming, hanning, triang
窗:巴特利特,布莱克曼,棚车,flattopwin,gausswin,汉明,汉宁,triang

Analysis and visualization: freqs, freqz, impz, zplane, grpdelay, specgram
分析和可视化:freqs,freqz,IMPZ,zplane,grpdelay,specgram

Most of the functions accept Matlab-compatible argument lists, but many are generic functions and can accept simpler argument lists.
接受MATLAB兼容的参数列表的功能,但很多都是通用的功能,并且可以接受简单的参数列表。

For a complete list, use library(help="signal").
对于一个完整的列表,使用library(help="signal")。


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



Most of these routines were translated from Octave Forge routines. The
main credit goes to the original Octave authors:

Paul Kienzle, John W. Eaton, Kurt Hornik, Andreas Weingessel, Kai
Habel, Julius O. Smith III, Bill Lash, Andr茅 Carezia, Paulo Neis,
David Billinghurst, Friedrich Leisch

Translations by Tom Short <a href="mailto:tshort@eprisolutions.com">tshort@eprisolutions.com</a>
(who maintained the package until 2009).

Current maintainer is Uwe Ligges <a href="mailto:ligges@statistik.tu-dortmund.de">ligges@statistik.tu-dortmund.de</a>.




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




by Vidar Bronken Gundersen and http://cran.r-project.org/doc/contrib/R-and-octave.txt by Robin Hankin.

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


## The R implementation of these routines can be called "matlab-style",[#这些例程会被调用的R实现“matlab的风格”,]
bf <- butter(5, 0.2)
freqz(bf$b, bf$a)
## or "R-style" as:[#“R风格”:]
freqz(bf)

## make a Chebyshev type II filter:[切比雪夫Ⅱ型滤波器:]
ch <- cheby2(5, 20, 0.2)
freqz(ch, Fs = 100)  # frequency plot for a sample rate = 100 Hz[的采样率= 100 Hz的频率图]

zplane(ch) # look at the poles and zeros[看的极点和零点]

## apply the filter to a signal[#过滤器的信号]
t &lt;- seq(0, 1, by = 0.01)                     # 1 second sample, Fs = 100 Hz[第二个样本,FS = 100赫兹]
x &lt;- sin(2*pi*t*2.3) + 0.25*rnorm(length(t))  # 2.3 Hz sinusoid+noise[2.3 Hz的正弦信号+噪声]
z &lt;- filter(ch, x)  # apply filter[应用过滤器]
plot(t, x, type = "l")
lines(t, z, col = "red")

# look at the group delay as a function of frequency[看作为频率的函数的群延迟]
grpdelay(ch, Fs = 100)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-22 22:40 , Processed in 0.037752 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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