Effacer les filtres
Effacer les filtres

Band Reject Filter Design

1 vue (au cours des 30 derniers jours)
omarahmed.m
omarahmed.m le 29 Avr 2016
Modifié(e) : omarahmed.m le 29 Avr 2016
I want to design a band reject filter to stop certain frequencies from a Sinc function, i used heaviside function to create the band reject filter then i multiplied the filter by the Sinc function and it worked(code below) my question is: Is using this filter is okay or it can cause invisible errors?
if true
Fstart = 'Please Enter start frequency: ';
Fst=input(Fstart);
Fend='please Enter End frequency: ';
Fen=input(Fend);
BR=(1-((heaviside(f-Fst)-heaviside(f-Fen))+(heaviside(-f-Fst)-heaviside(-f-Fen))));
filter=BR.*Signal;
end

Réponses (0)

Catégories

En savoir plus sur Signal Processing Toolbox 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!

Translated by