hann.m | Back to Contents | << Prev | Next >> |
Y = hann(N) returns a N-point hann function (usually N is a power of
2), ie a discretization of Y(X) = (1 - COS (2*PI*X))/2.
The hann function is used to window (apodize) finite samples of signal
in order to avoid high frequency oscillations in Fourier transform.
Example: plot(hann(128));
F. Moisy
Revision: 1.02, Date: 2005/09/03
See Also
FFT.
Previous: getsetname | Next: histf |