How to apply a Farrow structure delay filter(FIR) to a signal in Matlab?

8 views (last 30 days)
For a signal, which is very common, just like this one
t=linspace(0,100e-6,1024);
k=10e13;
y=exp(-1i*k*pi*t.^2);
The function in the signal processing toolbox of MATLAB is used to generate a delay filter with Farrow structure, and the filter coefficients are obtained.
L=18;
d = fdesign.fracdelay(abs(Delay),'N',L);
farrow = design(d, 'lagrange', 'FilterStructure', 'farrowfd');
farrow_coff=farrow.Coefficients;
Is it because the previous delay filter is not correct, the function filter can not correctly filter to obtain the desired results?
Or please give me a simulation example for reference.

Accepted Answer

Star Strider
Star Strider on 7 Feb 2021
I cannot run your code because:
Unrecognized function or variable 'Delay'.
and ‘L’ is missing as well.
However, if you need to do phase-neutral digital filtering, use the filtfilt function instead of filter.
  4 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Measurements and Spatial Audio in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!