Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

step

System object: dsp.Minimum
Package: dsp

Operate on inputs to calculate outputs

Syntax

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

Description

Note

Starting in R2016b, instead of using the step method to perform the operation defined by the System object™, you can call the object with arguments, as if it were a function. For example, y = step(obj,x) and y = obj(x) perform equivalent operations.

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

VAL = step(min,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(min,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(min,X,R) resets the state of min 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

obj 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 (MATLAB) 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?