noise reduction in fir filter
古いコメントを表示
i want to design a bandpass fir filter with Bartlett or hamming window,and want to reduce the pass and stop band ripple.is there any math function to describe it. plz suggest.
回答 (3 件)
Wayne King
2012 年 1 月 6 日
Hi Debalina, If you want to use the window method for a bandpass filter, you can do the following (of course you need to modify the specifications to match your needs)
% I'll assume a 10-kHz sampling frequency and pass 1000-1500 Hz
d = fdesign.bandpass('N,Fc1,Fc2',10,1000,1500,10000);
% Use a Hamming window
Hd = window(d,'window',@hamming);
fvtool(Hd);
However, if you really want to control the passband and stopband ripple, then I think a different FIR design is warranted, like a constrained equiripple design. See firceqrip() for example.
debalina ghosh
2012 年 1 月 7 日
1 件のコメント
Walter Roberson
2012 年 1 月 7 日
You seem to have trimmed out the basic message about what error it thinks is occurring ?
debalina ghosh
2012 年 1 月 9 日
0 投票
1 件のコメント
Walter Roberson
2012 年 1 月 9 日
MATLAB never simply says that there is an error: it says what kind of error there is. For example, it might be displaying an error "vertcat error"
カテゴリ
ヘルプ センター および File Exchange で Bartlett についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!