From: bos1234 on
I have a signal with the spectrum depicted below. I filtered this signal
using three individual filters i.e. bandpass and 2 bandstops. Im trying to
design a multiband filter which does the same job. However in matlab what
does "frequency vector" and magnitude vector mean? and How do they control
the designing of the filter??

[IMG]http://i48.tinypic.com/f4in4m.png[/IMG]

[IMG]http://i50.tinypic.com/1es9b8.png[/IMG]

[IMG]http://i48.tinypic.com/2pr7b0l.png[/IMG]
From: Zhi.Shen on
Aren't the "frequency vectors" filter's passband or stopband edges?
and "magnitude vectors" the magnitudes you need?
Also the weights are the different bands ripple's ratio.
And you can search the explanation of the function "firpm" in Matlab's
Help.

I think the reason for your pool magnitude response is that the FIR filter's
order is too less.




"bos1234" <suren130(a)n_o_s_p_a_m.gmail.com> д����Ϣ����:trGdnZkYpfFBU5jRnZ2dnUVZ_v6dnZ2d(a)giganews.com...
>I have a signal with the spectrum depicted below. I filtered this signal
> using three individual filters i.e. bandpass and 2 bandstops. Im trying to
> design a multiband filter which does the same job. However in matlab what
> does "frequency vector" and magnitude vector mean? and How do they control
> the designing of the filter??
>
> [IMG]http://i48.tinypic.com/f4in4m.png[/IMG]
>
> [IMG]http://i50.tinypic.com/1es9b8.png[/IMG]
>
> [IMG]http://i48.tinypic.com/2pr7b0l.png[/IMG]


From: Bob on
On 2 June, 04:24, "bos1234" <suren130(a)n_o_s_p_a_m.gmail.com> wrote:
> I have a signal with the spectrum depicted below. I filtered this signal
> using three individual filters i.e. bandpass and 2 bandstops. Im trying to
> design a multiband filter which does the same job. However in matlab what
> does "frequency vector" and magnitude vector mean? and How do they control
> the designing of the filter??
>
> [IMG]http://i48.tinypic.com/f4in4m.png[/IMG]
>
> [IMG]http://i50.tinypic.com/1es9b8.png[/IMG]
>
> [IMG]http://i48.tinypic.com/2pr7b0l.png[/IMG]


If this frequency response fits your needs, you should try ONEoverT
filter designer.

[IMG]http://i49.tinypic.com/zikvaq.jpg[/IMG]
From: Jaime Andrés Aranguren Cardona on
On 2 jun, 05:24, "bos1234" <suren130(a)n_o_s_p_a_m.gmail.com> wrote:
> I have a signal with the spectrum depicted below. I filtered this signal
> using three individual filters i.e. bandpass and 2 bandstops. Im trying to
> design a multiband filter which does the same job. However in matlab what
> does "frequency vector" and magnitude vector mean? and How do they control
> the designing of the filter??
>
> [IMG]http://i48.tinypic.com/f4in4m.png[/IMG]
>
> [IMG]http://i50.tinypic.com/1es9b8.png[/IMG]
>
> [IMG]http://i48.tinypic.com/2pr7b0l.png[/IMG]

Hi,

If already got it working with 3 separate filters, why do you need a
multiband? Also, should it be FIR, why not IIR?

JaaC