flattopwin() - Signal Processing
Flat top windows have very low passband ripple (< 0.01 dB)
and are used primarily for calibration purposes. Their bandwidth is
approximately 2.5 times wider than a Hann window.w = flattopwin(L) returns
the L-point symmetric flat top window in column
vector w. w = flattopwin(L,sflag) returns
the L-point symmetric flat top window using sflag window
sampling, where sflag is either 'symmetric' or 'periodic'.
The 'periodic' flag is useful for DFT/FFT purposes,
such as in spectral analysis. The DFT/FFT contains an implicit periodic
extension and the periodic flag enables a signal windowed with a periodic
window to have perfect periodic extension. When 'periodic' is
specified, flattopwin computes a length L+1 window
and returns the first L points. When using windows
for filter design, the 'symmetric' flag should
be used.
Syntax
w = flattopwin(L)w = flattopwin(L,sflag)
Example
Flat Top WindowOpen This Example
Create a 64-point symmetric flat top window. View the result using wvtool.
N = 64;
w = flattopwin(N);
wvtool(w)
Output / Return Value
Limitations
Alternatives / See Also
Reference