info
Characteristic information about valid delay range
Syntax
Description
Examples
Obtain the Valid Delay Range
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.
vfd = dsp.VariableFractionalDelay('InterpolationMethod','Farrow','MaximumDelay',9); info(vfd)
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.
in = randn(10,1)
in = 10×1
0.5377
1.8339
-2.2588
0.8622
0.3188
-1.3077
-0.4336
0.3426
3.5784
2.7694
delayVec = [0.95 10]
delayVec = 1×2
0.9500 10.0000
vfdout = vfd(in,delayVec)
vfdout = 10×2
0 0
0.5377 0
1.8339 0
-2.2588 0
0.8622 0
0.3188 0
-1.3077 0
-0.4336 0
0.3426 0
3.5784 0.5377
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.
Input Arguments
obj
— Input System object™
dsp.VariableFractionalDelay
dsp.VariableFractionalDelay
Input object, specified as a dsp.VariableFractionalDelay
System object.
Example: vfd = dsp.VariableFractionalDelay; info(vfd);
Output Arguments
S
— Valid delay range information
structure
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
.
Version History
Introduced in R2012a
MATLAB Command
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: .
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.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)