hamming.window.rd

来自「支持向量机完整版(SVM)可以用来进行设别训练」· RD 代码 · 共 39 行

RD
39
字号
\name{hamming.window}\title{Computes the Coefficients of a Hamming Window.}\usage{hamming.window(n)}\alias{hamming.window}\arguments{\item{n}{The length of the window.}}\description{The filter coefficients \eqn{w_i}{w(i)} of a Hammingwindow of length \code{n} are computed according to the formula\deqn{w_i = 0.54 - 0.46 \cos\frac{2\pi i}{n-1}}{w(i) = 0.54 - 0.46*cos(2*pi*i/(n-1))}}\value{A vector containing the filter coefficients.}\references{For a definition of the Hamming window, see for example\crAlan V. Oppenheim and Roland W. Schafer: "Discrete-Time SignalProcessing", Prentice-Hall, 1989.}\author{Andreas Weingessel}\seealso{stft, hanning.window}\examples{hamming.window(10)x<-rnorm(500)y<-stft(x, wtype="hamming.window")plot(y)}\keyword{ts}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?