|
Hi Ashwini,
What sampling rate are you using for the three sine waves? Are you setting
the sampling rate for the filter to the same value?
HTH.
Rick
"Ashwini Deshpande" <vd.ashwini@mathworks.com> wrote in message
news:hdiruh$h9f$1@fred.mathworks.com...
> 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
|