Signal Processing Toolbox |
Syntax
Description
w = sigwin.
returns a window object, window
w
, of type window
. Each window takes one or more inputs. If you specify a sigwin
.window
with no inputs, a default window of length 64 is created.
Constructors
window
for sigwin
specifies the type of window. All windows in the Signal Processing Toolbox are available for use with sigwin
. For a complete list, see the window
reference page.
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.
Viewing Object Parameters
As with any object, you can use get
to view a sigwin
object's parameters. To see a specific parameter,
or to see all parameters for an object,
Changing Object Parameters
Note that you must use single quotation marks around the parameter name.
Examples
Create a default Bartlett window and view the results in the Window Visualization Tool (wvtool
). See bartlett
for information on Bartlett windows:
Create a 128-point Chebyshev window with 100 dB of sidelobe attenuation. (See chebwin
for information on Chebyshev windows.) View the results of this and the above Bartlett window in the Window Design and Analysis Tool (wintool
):
To save the window values in a vector, use:
See Also
sgolayfilt | sinc |
© 1994-2005 The MathWorks, Inc.