noise reduction in fir filter
5 views (last 30 days)
Show older comments
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.
0 Comments
Answers (3)
Wayne King
on 6 Jan 2012
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.
0 Comments
debalina ghosh
on 7 Jan 2012
1 Comment
Walter Roberson
on 7 Jan 2012
You seem to have trimmed out the basic message about what error it thinks is occurring ?
debalina ghosh
on 9 Jan 2012
1 Comment
Walter Roberson
on 9 Jan 2012
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"
See Also
Categories
Find more on Bartlett in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!