How to apply a Farrow structure delay filter(FIR) to a signal in Matlab?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
chen jiyuan
il 7 Feb 2021
Commentato: Star Strider
il 6 Mar 2021
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 Commenti
Risposta accettata
Star Strider
il 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Filter Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!