Documentation Center

  • Trial Software
  • Product Updates

step

System object: dsp.PeakToRMS
Package: dsp

Compute peak-to-RMS ratio

Syntax

Y = step(H,X)
Y = step(H,X,R)

Description

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

Y = step(H,X,R) computes the peak-to-RMS ratio 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 RunningPeakToRMS and the ResetInputPort properties to true.

Was this topic helpful?