Generates a window function of a given type and number of points.
Usage
windowfunc (npoints = 100, type = '', parameter = -1)
Arguments
npoints
the desired window length, in points.
type
a string indicating the type of window desired. For the sake of simplicity, all window names are in lowercase. Supported types are: rectangular, hann, hamming, cosine, bartlett, gausian, and kaiser.
parameter
the parameter necessary to generate the window, if appropriate. At the moment, the only windows that require parameters are the Kaiser and Gaussian windows. By default, these are set to .
Details
A window function is generated, of the type and length specified by the user. This is returned as a numeric vector.