DSP Filter design using fdesign
Show older comments
Let's say, I need to design a second order filter with a Fractional delay of 26.17 µs.
I could use the command
d = fdesign.fracdelay(26.17e-06,2);
That works fine.
Now, i also need the same second order filter to be a bandpass filter, which lets through frequencies from 200 Hz to 7000 Hz.
for which i could use
d = fdesign.bandpass('N,F3dB1,F3dB2,BWp', ...
2,1/32,7/8,7000);
is there a way to combine these two designs to get my final filter ?
2 Comments
Dimitris Kalogiros
on 20 Jan 2020
What about to put these two filters into a cascade structure ?
Merida
on 21 Jan 2020
Answers (1)
Andersson Zurita Romero
on 21 Jun 2020
0 votes
A_stop1 = 60; % Attenuation in the first stopband = 60 dB F_stop1 = 8400; % Edge of the stopband = 8400 Hz F_pass1 = 10800; % Edge of the passband = 10800 Hz F_pass2 = 15600; % Closing edge of the passband = 15600 Hz F_stop2 = 18000; % Edge of the second stopband = 18000 Hz A_stop2 = 60; % Attenuation in the second stopband = 60 dB A_pass = 1;
Categories
Find more on Filter Design 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!