sigwin
Signal processing window object
Syntax
w = sigwin.
window
Description
Note
The use of sigwin.
is
not recommended. Use the corresponding function instead. See Windows for the functional forms.window
w = sigwin.
returns
a window object, window
w
, of type window
.
Each window type takes one or more inputs. If you specify a sigwin
.window
with
no inputs, a default window of length 64 is created.
Note
You must specify a window
type with sigwin
.
Windows
window
for sigwin
specifies
the type of window. The following table lists the supported window
functions with links to the corresponding class reference page for
the window object.
Window | Window Object | Corresponding Function |
---|---|---|
Modified Bartlett-Hann Window | sigwin.barthannwin | |
Bartlett Window | sigwin.bartlett | |
Blackman Window | sigwin.blackman | |
Blackman-Harris Window | sigwin.blackmanharris | |
Bohman Window | sigwin.bohmanwin | |
Dolph-Chebyshev Window | sigwin.chebwin | |
Flat Top Window | sigwin.flattopwin | |
Gaussian Window | sigwin.gausswin | |
Hamming Window | sigwin.hamming | |
Hann (Hanning) Window | sigwin.hann | |
Kaiser Window | sigwin.kaiser | |
Nuttall defined 4-term Blackman-Harris Window | sigwin.nuttallwin | |
Parzen Window | sigwin.parzenwin | |
Rectangular Window | sigwin.rectwin | |
Taylor Window | sigwin.taylorwin | |
Triangular Window | sigwin.triang | |
Tukey Window | sigwin.tukeywin |
Methods
Methods provide ways of performing functions directly on your sigwin
object
without having to specify the window parameters again. You can apply
this method directly on the variable you assigned to your sigwin
object.
Method | Description |
---|---|
Returns a column vector of values representing the window. | |
Returns information about the window object. | |
Writes an ASCII file that contains window weights for
a single window object or a vector of window objects. Default filename
is
|
Viewing Object Parameters
As with any object, you can use get
to view
a sigwin
object's parameters. To see a specific
parameter,
get(w,'parameter')
or to see all parameters for an object,
get(w)
Changing Object Parameters
To set specific parameters,
set(w,'parameter1',value,'parameter2',value,...)
Note that you must use single quotation marks around the parameter name.
Examples
Version History
Introduced before R2006a