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

5 ビュー (過去 30 日間)
chen jiyuan
chen jiyuan 2021 年 2 月 7 日
コメント済み: Star Strider 2021 年 3 月 6 日
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.

採用された回答

Star Strider
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 件のコメント
chen jiyuan
chen jiyuan 2021 年 3 月 6 日
thank you
Star Strider
Star Strider 2021 年 3 月 6 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMeasurements and Spatial Audio についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by