<< hamming Signal Processing mag2db >>

hann


Hann window.


Syntax


c = hann(m)
c = hann(m, opt)

Input argument


m

positive integer: window length

opt

string: 'symetric' (default) or 'periodic'

Output argument


c

column vector

Description


c = hann(m) computes coefficients of a Hanning window of length m.

Example


c = hann(8)
c = hann(8, 'periodic')

Bibliography


Oppenheim, Alan V., Ronald W. Schafer, and John R. Buck. Discrete-Time Signal Processing. Upper Saddle River, NJ: Prentice Hall, 1999.

See also


hamming, blackman.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< hamming Signal Processing mag2db >>