Path: news.mathworks.com!not-for-mail
From: "Ashwini Deshpande" <vd.ashwini@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Bandpass Filter - Simulink
Date: Fri, 13 Nov 2009 05:48:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 11
Message-ID: <hdiruh$h9f$1@fred.mathworks.com>
Reply-To: "Ashwini Deshpande" <vd.ashwini@mathworks.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1258091281 17711 172.30.248.35 (13 Nov 2009 05:48:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 13 Nov 2009 05:48:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1101624
Xref: news.mathworks.com comp.soft-sys.matlab:584776


Hi,

I have a simple model, in that i am adding 3 sine waves of 5Hz, 10Hz and 20Hz frequencies. The resultant wave, i am passing it through a bandpass filter which has to pass only frequencies between 8-12 Hz and block rest all. But which is not happening.  For the same i am using the bandpass filter block of signal processing blockset. 

I tried to set the frequencies both in normalized way as well as normal way (using Hz).
At the output spectrum i will see peak at all the 3 input frequencies. But i suppose to get peak at only desired freq.

Can anyone help me in setting the parameters of bandpass filter.

Thanks,
Ashwini