Moving minimum
Thedsp.MovingMinimum
System object™ determines the moving minimum of the input signal along each channel, independently over time. The object uses the sliding window method to determine the moving minimum. In this method, a window of specified length is moved over each channel, sample by sample, and the object determines the minimum of the data in the window. For more details, see算法.
该对象接受多通道输入,即m-经过-n大小输入,其中m≥ 1, andn> 1. The object also accepts variable-size inputs. Once the object is locked, you can change the size of each input channel. However, the number of channels cannot change. This object supports C and C++ code generation.
To determine the moving minimum of the input:
创建一个dsp.MovingMinimum
object and set the properties of the object.
Callstep
计算移动最小值。
Alternatively, instead of using thestep
方法进行加工ation defined by the System object, you can call the object with arguments, as if it were a function. For example,y = step(obj,x)
和y = obj(x)
perform equivalent operations.
movMin = dsp.MovingMinimum
返回移动最小对象,movMin
, using the default properties.
movMin = dsp.MovingMinimum(Len)
设置窗口长
property to伦
.
movMin = dsp.MovingMinimum(Name,Value)
使用Name,Value
pairs. Unspecified properties have default values.
Example:
movMin = dsp.MovingMinimum('SpecifyWindowLength',1,'WindowLength',10);
reset | 重置内部状态System object |
step | 移动最小输入信号 |
Common to All System Objects | |
---|---|
release |
Allow System object property value changes |
[1] Bodenham, Dean. “Adaptive Filtering and Change Detection for Streaming Data.” PH.D. Thesis. Imperial College, London, 2012.
DSP.MedianFilter
|dsp。最小
|dsp.MovingAverage
|dsp.MovingMaximum
|dsp.movingrms
|DSP.MovingStandardDeviation
|DSP.MovingVariance