Design filter to remove two different frequencies
6 views (last 30 days)
Show older comments
I have to design a filter to remove the noise that has been added to an audio signal with fs=44100.
The noise exists in only two frequencies and the filter should remove them.
Which type of filter is able to do this?
0 Comments
Accepted Answer
Star Strider
on 15 Dec 2018
If you have R2018a or later, use the bandstop (link) function. Cascade two filters, one for each frequency. If you use the second ‘d’ (digital filter object) output, use the filtfilt function with it to filter your signal.
Using kaiserord (link) with fir1 is also an option. You can design the filter to eliminate both frequencies at the same time.
0 Comments
More Answers (0)
See Also
Categories
Find more on Multirate and Multistage Filters 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!