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.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.