Fractional delay filter specification object
d = fdesign.fracdelay(delta)
d = fdesign.fracdelay(
d = fdesign.fracdelay(delta,'N',n)
d = fdesign.fracdelay(delta,n)
d = fdesign.
d = fdesign.fracdelay(delta) constructs
a default fractional delay filter designer
the filter order set to 3 and the delay value set to
The fractional delay
delta must be between 0 and
d = fdesign.fracdelay( initializes
the filter designer specification to
the fractional delay filter order and defaults to filter order of
get a list of the design methods available for a specification.
d = fdesign.fracdelay(delta,'N',n) initializes
the filter designer to
N and sets the filter order
d = fdesign.fracdelay(delta,n) assumes
the default specification
N, filter order, and
sets the filter order to the value you provide in input
d = fdesign. adds
fs, specified in units of Hertz (Hz)
to define the sampling frequency. In this case, specify the fractional
delta to be between 0 and 1/
Design a second-order fractional delay filter of 0.2 samples using the Lagrange method. Implement the filter using a Farrow fractional delay (fd) structure.
d = fdesign.fracdelay(0.2,'N',2); secondOrderFrac = design(d,'lagrange','filterstructure','farrowfd'); fvtool(secondOrderFrac,'analysis','grpdelay')
Design a cubic fractional delay filter with a sampling frequency of 8 kHz and fractional delay of 50 microseconds using the Lagrange method.
d = fdesign.fracdelay(50e-6,'N',3,8000); cubicFrac = design(d, 'lagrange', 'FilterStructure', 'farrowfd');