フィルターのクリア

Band Reject Filter Design

1 回表示 (過去 30 日間)
omarahmed.m
omarahmed.m 2016 年 4 月 29 日
編集済み: omarahmed.m 2016 年 4 月 29 日
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

回答 (0 件)

カテゴリ

Help Center および File ExchangeSignal Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by