System object: dsp.Minimum
Package: dsp

Operate on inputs to calculate outputs


[VAL,IND] = step(H,X)
VAL = step(H,X)
IND = step(H,X)
VAL = step(H,X,R)


[VAL,IND] = step(H,X) returns the minimum value, VAL, and the index or position of the minimum value, IND, along the specified Dimension of X.

VAL = step(H,X) returns the minimum value, VAL, of the input X. When the RunningMinimum property is true, VAL corresponds to the minimum value over successive calls to the step method.

IND = step(H,X) returns the zero- or one-based index IND of the minimum value when the IndexOutputPort property is true and the ValueOutputPort property is false. You must set the RunningMinimum property to false to use this syntax.

VAL = step(H,X,R) resets the state of H based on the value of reset signal, R, and the ResetCondition property. To enable this type of processing, set the RunningMinimum property to true and the ResetInputPort property to true.

    Note:   H specifies the System object™ on which to run this step method.

    The object performs an initialization the first time the step method is executed. This initialization locks nontunable properties and input specifications, such as dimensions, complexity, and data type of the input data. If you change a nontunable property or an input specification, the System object issues an error. To change nontunable properties or inputs, you must first call the release method to unlock the object.

Was this topic helpful?