dsp.MovingMaximum
Moving maximum
Description
The dsp.MovingMaximum
System object™ determines the moving maximum of the input signal along each channel,
independently over time. The object uses the sliding window method to determine the moving
maximum. In this method, a window of specified length is moved over each channel, sample by
sample, and the object determines the maximum of the data in the window. For more details, see
Algorithms.
The dsp.MovingMaximum
object and the movmax
function both compute the moving maximum of the input signal. However,
the object can process large streams of real-time data and handle system states automatically.
The function performs one-time computations on data that is readily available and cannot
handle system states. For a comparison between the two, see System Objects vs MATLAB Functions.
To determine the moving maximum of the input:
Create the
dsp.MovingMaximum
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
returns a moving
maximum object, movMax
= dsp.MovingMaximummovMax
, using the default properties.
sets the movMax
= dsp.MovingMaximum(Len
)WindowLength
property to Len
.
specifies additional properties using movMax
= dsp.MovingMaximum(Name,Value
)Name,Value
pairs. Unspecified
properties have default values.
Example: movMax =
dsp.MovingMaximum('SpecifyWindowLength',1,'WindowLength',10);
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
References
[1] Bodenham, Dean. “Adaptive Filtering and Change Detection for Streaming Data.” PH.D. Thesis. Imperial College, London, 2012.
Extended Capabilities
Version History
Introduced in R2016b
See Also
Functions
Objects
dsp.MovingMinimum
|dsp.MovingAverage
|dsp.MovingRMS
|dsp.MovingStandardDeviation
|dsp.MovingVariance
|dsp.MedianFilter
|powermeter