how to make bandstop filter
8 views (last 30 days)
Show older comments
I Want to filter a signal and I need to have stop band[299740,299750 Hz]. I use fdatool but it haz this Error: Fpass2 must be less than 22050.How should I design This Filter with no error

?
0 Comments
Accepted Answer
Wayne King
on 27 Dec 2013
Edited: Wayne King
on 27 Dec 2013
You have the sampling frequency specified as 44100 Hz. Is that correct? If that is correct how can you have a stopband [299740,299750 Hz]?
If the data is sampled at 44100 Hz, then the spectrum is periodic with period equal to 44100 Hz. Add in the fact that a real-valued signal has to be conjugate symmetric in the Fourier domain and you only need to specify filter specifications in the interval [0 22050] Hz
That is the reason for the error message.
2 Comments
Wayne King
on 28 Dec 2013
You can make a stopband somewhere in [0 22050] so for example you can have a stopband from [10000 15000] Hz.
More Answers (0)
See Also
Categories
Find more on Filter Analysis 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!