EVOLUTION-MANAGER
Edit File: hamming.window.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Computes the Coefficients of a Hamming Window.</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for hamming.window {e1071}"><tr><td>hamming.window {e1071}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Computes the Coefficients of a Hamming Window.</h2> <h3>Description</h3> <p>The filter coefficients <i>w(i)</i> of a Hamming window of length <code>n</code> are computed according to the formula </p> <p style="text-align: center;"><i> w(i) = 0.54 - 0.46*cos(2*pi*i/(n-1))</i></p> <h3>Usage</h3> <pre>hamming.window(n)</pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>n</code></td> <td> <p>The length of the window.</p> </td></tr> </table> <h3>Value</h3> <p>A vector containing the filter coefficients.</p> <h3>Author(s)</h3> <p>Andreas Weingessel</p> <h3>References</h3> <p>For a definition of the Hamming window, see for example<br /> Alan V. Oppenheim and Roland W. Schafer: "Discrete-Time Signal Processing", Prentice-Hall, 1989.</p> <h3>See Also</h3> <p>stft, hanning.window</p> <h3>Examples</h3> <pre>hamming.window(10) x<-rnorm(500) y<-stft(x, wtype="hamming.window") plot(y) </pre> <hr /><div style="text-align: center;">[Package <em>e1071</em> version 1.7-3 <a href="00Index.html">Index</a>]</div> </body></html>