How to apply a Farrow structure delay filter(FIR) to a signal in Matlab?
6 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
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
More Answers (0)
See Also
Categories
Find more on Filter Analysis 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!