Documentation

Contents

dfilt.farrowfd

Fractional Delay Farrow filter

Syntax

Hd = dfilt.farrowfd(D, COEFFS)

Description

Hd = dfilt.farrowfd(D, COEFFS) Constructs a discrete-time fractional delay Farrow filter with COEFFS coefficients and D delay.

Examples

Farrow filters can be designed with the dfilt.farrowfd filter designer.

coeffs = [-1/6 1/2 -1/3 0;1/2 -1 -1/2 1;
-1/2 1/2 1 0;1/6 0 -1/6 0];
Hd = dfilt.farrowfd(0.5, coeffs);

Design a cubic fractional delay filter with the Lagrange method.

fdelay = .2; % Fractional delay
d = fdesign.fracdelay(fdelay,'N',3);
Hd = design(d, 'lagrange', 'FilterStructure', 'farrowfd');
fvtool(Hd, 'Analysis', 'grpdelay');

For more information about fractional delay filter implementations, see the "Fractional Delay Filters Using Farrow Structures" example, farrowdemofarrowdemo.

More About

Was this topic helpful?