comm.IntegrateAndDumpFilter
Integrate discrete-time signal with periodic resets
Description
The comm.IntegrateAndDumpFilter
System object™ creates a cumulative sum of the discrete-time input signal, while resetting the
sum to zero according to a fixed schedule. When the simulation begins, the object discards the
number of samples specified in the Offset
property. After this initial
period, the object sums the input signal along columns and resets the sum to zero every
N input samples, set by the integration period property. The reset occurs
after the object produces output at that time step.
To integrate discrete-time signals with periodic resets:
Create the
comm.IntegrateAndDumpFilter
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
Syntax
Description
creates an integrate-an- dump filter System object, intdump
= comm.IntegrateAndDumpFilterintdump
. This
object integrates over a number of samples in an integration period, and then resets at
the end of that period.
sets the intdump
= comm.IntegrateAndDumpFilter(period,Name=Value
)IntegrationPeriod
property to
period
.
sets properties using one or more optional name-value arguments in addition to the any of
the input argument combinations in the previous syntaxes. For example,
intdump
= comm.IntegrateAndDumpFilter(___,Name=Value
)comm.IntegrateAndDumpFilter(IntegrationPeriod=4)
sets the integration
period to 4
.
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
More About
Extended Capabilities
Version History
Introduced in R2012a