dsp-0.2.4: Haskell Digital Signal Processing

Copyright(c) Matthew Donadio 1998
LicenseGPL
Maintainerm.p.donadio@ieee.org
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

DSP.Window

Description

Commonly used window functions. Except for the Parzen window, the results of all of these look right, but I have to check them against either Matlab or my C code.

More windowing functions exist, but I have to dig through my papers to find the equations.

Synopsis

Documentation

window Source #

Arguments

:: Array Int Double

w[n]

-> Array Int Double

x[n]

-> Array Int Double

w[n] * x[n]

Applys a window, w, to a sequence x

rectangular Source #

Arguments

:: Int

M

-> Array Int Double

w[n]

rectangular window

bartlett Source #

Arguments

:: Int

M

-> Array Int Double

w[n]

Bartlett window

hanning Source #

Arguments

:: Int

M

-> Array Int Double

w[n]

Hanning window

hamming Source #

Arguments

:: Int

M

-> Array Int Double

w[n]

Hamming window

blackman Source #

Arguments

:: Int

M

-> Array Int Double

w[n]

Blackman window

kaiser Source #

Arguments

:: Double

beta

-> Int

M

-> Array Int Double

w[n]

rectangular window

gen_hamming Source #

Arguments

:: Double

alpha

-> Int

M

-> Array Int Double

w[n]

Generalized Hamming window

parzen Source #

Arguments

:: Int

M

-> Array Int Double

w[n]

rectangular window