Documentation

This is machine translation

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

step

System object: dsp.DigitalFilter
Package: dsp

Filter input with digital filter object

Syntax

Y = step(HFILT,X)
Y = step(HFILT,X,COEFF)
Y = step(HFILT,X,NUM,DEN)

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(HFILT,X) filters the real or complex input signal X using the digital filter, H, to produce the output Y . The digital filter object operates on each channel of the input signal independently over successive calls to step method.

Y = step(HFILT,X,COEFF) uses the time-varying numerator or denominator coefficients, COEFF , to filter the input signal X and produce the output Y . You can use this option when you set the TransferFunction property to either FIR (all zeros) or IIR (all poles) and the CoefficientsSource property to Input port.

Y = step(HFILT,X,NUM,DEN) uses the time-varying numerator coefficients NUM and the time-varying denominator coefficients DEN to filter the input signal X and produce the output Y . You can use this option when you set the TransferFunction property to IIR (poles and zeros) and the CoefficientsSource property to Input port.

    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?