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(.5, coeffs)
y = filter(Hd,1:10)

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', 'fd');
fvtool(Hd, 'Analysis', 'grpdelay')

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

See Also

dfilt

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS