Create a dsp.VariableFractionalDelay object. Set the interpolation method to 'Farrow', and the maximum delay to 9. Obtain the valid delay range for these settings using the info method.
ans = struct with fields:
ValidDelayRange: '[1, 9]'
Specify the delay vector to have two taps - [0.95 10]. These values are out of the valid range. The object clips these values to [1 9] and concurrently applies the delay values to the input channel.
The output contains two channels, each being a delayed version of the input channel. The first channel is delayed by 1 sample and the second channel is delayed by 9 samples.
Valid delay range information of the input
dsp.VariableFractionalDelay object, returned as the
ValidDelayRange field in the output structure
S. ValidDelayRange contains
the possible range of delay values based on the current property values of
the object. The ValidDelayRange is in the format
[MinValidDelay,
MaxValidDelay]. The object clips all input delay values
to be within this ValidDelayRange.