User`s guide
Window Function
5-542
Window Sampling
For the generalized-cosine windows (Blackman, Hamming, and Hann), the 
Sampling parameter determines whether the window samples are computed 
in a periodic or a symmetric manner. For example, if 
Sampling is set to 
Symmetric, a Hamming window of length M is computed as 
w = hamming(M) % Symmetric (aperiodic) window
If Sampling is set to Periodic, the same window is computed as
w = hamming(M+1) % Periodic (asymmetric) window
w = w(1:M)
Window Type
The available window types are shown in the table below. The Stopband 
attenuation in dB 
and Beta parameters specify the characteristics of the 
Chebyshev and Kaiser windows, respectively, and are only available when 
those window designs are selected. 
When 
Window type is set to User defined, the Window function block 
computes the user-defined window specified by the 
Window function name 
parameter. If the user-defined window requires parameters other than the 
window length, select the 
Additional parameters for user defined window 
check box. The cell array entered in 
Window function parameters determines 
the values of the additional parameters.
For complete information about the other window functions, consult the Signal 
Processing Toolbox documentation.
Window 
Type
Description
Bartlett
Computes a Bartlett window.
w = bartlett(M)
Blackman
Computes a Blackman window.
w = blackman(M)










