The Window
object applies a window to an input
signal.
To apply a window to an input signal:
Define and set up your window. See Construction.
Call step
to apply the window according to the
properties of dsp.Window
. The behavior of step
is
specific to each object in the toolbox.
Note:
Starting in R2016b, instead of using the 
H = dsp.Window
returns
a window object, H
, that applies a Hamming window
with symmetric sampling.
H = dsp.Window('
returns a window object, PropertyName
',PropertyValue
,
...)H
, with
each property set to the specified value.
H = dsp.Window(WINDOW,'
returns a window object, PropertyName
',PropertyValue
,
...)H
, with
the WindowFunction
property set to WINDOW
and
other properties set to the specified values.

Type of window Specify the type of window to apply as 

Enable the output of window weights Set this property to 

Level of stopband attenuation in decibels Specify the level of stopband attenuation in decibels. This
property only applies when the 

Kaiser window parameter Specify the Kaiser window parameter as a real number. Increasing
the absolute value of 

Number of constant sidelobes Specify the number of constant sidelobes as an integer greater
than zero. This property only applies when 

Maximum sidelobe level relative to mainlobe Specify, in decibels, the maximum sidelobe level relative to
the mainlobe as a real number less than or equal to zero. The default
is –30, which produces sidelobes with peaks 30 dB down from
the mainlobe peak. This property only applies when 

Window sampling for generalizedcosine windows Specify the window sampling for generalizedcosine windows as 
clone  Create window object with same property values 
getNumInputs  Number of expected inputs to step method 
getNumOutputs  Number of outputs of step method 
isLocked  Locked status for input attributes and nontunable properties 
release  Allow property value and input characteristics changes 
step  Multiply input by window 
This object implements the algorithm, inputs, and outputs described on the Window Function block reference page. The object properties correspond to the block parameters, except:
Operation — The window
object does not support the Generate window
option.
Operation — The Generate
and apply window
option on the block corresponds to
the WeightsOutputPort
property
set to true
on the window object.
The window object only supports framebased processing.
dsp.FFT
 sigwin.bartlett
 sigwin.blackman
 sigwin.chebwin
 sigwin.hamming
 sigwin.hann
 sigwin.kaiser
 sigwin.taylorwin
 sigwin.triang
 wvtool