Cumulative product of channel, column, or row elements
The dsp.CumulativeProduct
System object™ computes the cumulative product of channel, column, or row elements.
To compute the cumulative product of channel, column, or row elements:
Create the dsp.CumulativeProduct
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?.
returns a
cumulative product object, cprod
= dsp.CumulativeProductcprod
, that computes the cumulative
product of input matrix or input vector elements along the default dimension.
returns a cumulative product object with each specified property set to the specified
value.cprod
= dsp.CumulativeProduct(Name,Value
)
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 Cumulative
Product block reference page. The object properties correspond to the block
parameters, except the Reset port block parameter corresponds to both the
ResetCondition
and ResetInputPort
object properties.