dsp.CumulativeProduct
(Removed) Cumulative product of channel, column, or row elements
dsp.CumulativeProduct
has been removed. Use the cumprod
function instead. For more information, see Compatibility Considerations.
Description
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?
Creation
Description
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
)
Properties
Usage
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 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.