Fraction Delay Filter to delay a simple signal

4 vues (au cours des 30 derniers jours)
Magnus354
Magnus354 le 12 Déc 2016
Commenté : Belal Essam le 19 Sep 2021
Hello everyone! :)
So, I want to use a fractional delay filter to delay a signal for 0.075s. So I get a random matrix with an input of 1-10 signals. Signal:
x=0:0.2:pi;
s=sin(x);
To design a fraction delay filter with my requirements I use:
d = fdesign.fracdelay(0.075,'N',2);
hd = design(d,'lagrange','filterstructure','farrowfd')
My problem is to combine both of it, so my sine is delayed for 0.075s. So, does anyone have an idea how to solve the problem?
Kind regards Magnus354

Réponses (1)

Boyuan Li
Boyuan Li le 5 Juin 2018
Try this
delayed_s=filter(hd,s);

Community Treasure Hunt

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

Start Hunting!

Translated by