Delay input by time-varying integer number of sample periods
The DirectFeedthrough
property will be removed in a future release.
Delete all instances of this property in your MATLAB® code. For more details, see Compatibility Considerations.
The dsp.VariableIntegerDelay
System
object™ delays input by time-varying integer number of sample periods.
To delay the input by a time-varying integer number of sample periods:
Create the dsp.VariableIntegerDelay
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? (MATLAB).
returns a
variable integer delay System
object, vid
= dsp.VariableIntegerDelayvid
, that delays discrete-time input by a
time-varying integer number of sample periods.
returns a variable integer delay System
object with each specified property set to the specified value.vid
= dsp.VariableIntegerDelay(Name,Value
)
delays the input by vidOut
= vid(input
,d
)d
samples, where d
should be
less than or equal to the value specified in the MaximumDelay
property and greater than or equal to 0. Delay values outside this range are clipped
appropriately and non-integer delays are rounded to the nearest integer values. Each
column of the input is treated as an independent channel
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)
This object implements the algorithm, inputs, and outputs described on the Variable Integer Delay block reference page. The object properties correspond to the block properties, except:
When you set the DirectFeedthrough property of
the System
object to true , the object allows direct feedthrough. This
behavior is different from the way the block behaves when you select the corresponding
Disable direct feedthrough by increasing minimum possible delay by
one check box on the block dialog. When you enable this block parameter, the
block does not allow direct feedthrough. |