How to apply a Farrow structure delay filter(FIR) to a signal in Matlab?
6 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Star Strider
2021-2-7
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Filter Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!