how to make bandstop filter
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Wayne King
le 27 Déc 2013
Modifié(e) : Wayne King
le 27 Déc 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 commentaires
Wayne King
le 28 Déc 2013
You can make a stopband somewhere in [0 22050] so for example you can have a stopband from [10000 15000] Hz.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Filter Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!