how to make bandstop filter

8 views (last 30 days)
vajihe
vajihe on 27 Dec 2013
Commented: Wayne King on 28 Dec 2013
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
?

Accepted Answer

Wayne King
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
vajihe
vajihe on 28 Dec 2013
so you mean Can't I have a filter in That band of frequency by given Fs(44100)? If it is possible What is a proper filter?
Wayne King
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!