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.PeakToPeak
Package: dsp

Compute peak-to-peak value

Syntax

Y = step(H,X)
Y = step(H,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.

Y = step(H,X) computes the peak-to-peak value, Y, of the floating-point input vector X. When the RunningPeakToPeak property is true, Y corresponds to the peak-to-peak value of the input elements over successive calls to the step method.

Y = step(H,X,R) computes the peak-to-peak value of the input elements over successive calls to the step method. The object optionally resets its state based on the reset input signal, R, and the value of the ResetCondition property. This is possible when you set both the RunningPeakToPeak and the ResetInputPort properties to true.

Was this topic helpful?