System object: dsp.VariableIntegerDelay
Delay input by time-varying integer number of sample periods
Y = step(H,X,D)
Y = step(H,X,D) delays the input X by D samples, where D should be less than or equal to the value specified in the MaximumDelay property and greater than or equal to 0. The object clips delay values greater than the MaximumDelay to the MaximumDelay, and clips values less than zero to zero. If you enter a noninteger delay value, the object rounds that value to the nearest integer value.
Note: 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.