dsp.Window
(Removed) Apply window to input signal
dsp.Window
has been removed. Use the window
function instead. For more information, see Compatibility Considerations.
Description
The Window
object applies a window to an input signal.
To apply a window to an input signal:
Create the
dsp.Window
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Description
returns a window object,
win
= dsp.Windowwin
, that applies a Hamming window with symmetric
sampling.
returns a window object with the win
= dsp.Window(WINDOW
)WindowFunction
property
set to WINDOW
.
win = dsp.Window(
returns a window object with the WINDOW
,Name,Value
)WindowFunction
property
set to WINDOW
and with other specified properties set to the specified
values.
Properties
Usage
Syntax
Description
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object™ as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
Algorithms
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
dsp.Window
object does not support theGenerate window
option.Operation — The
Generate and apply window
option on the block corresponds to theWeightsOutputPort
property set totrue
on thedsp.Window
object.The
dsp.Window
object only supports frame-based processing.