DSPRelated.com
Forums

elliptic bandpass filter

Started by john1985 August 7, 2008
Hi,
I'm new to DSP and matlab and need some assistance.I’ve a waveform (sine
like shape) in matlab which I want to apply in matlab a band-pass filter
centered at 500kHz to it and then plot the response. I was wondering if
someone can help me with the syntax to achieve this functionality?

Thanks a million

Regards,
John
On Aug 7, 7:07 am, "john1985" <murray_1...@hotmail.com> wrote:
> Hi, > I'm new to DSP and matlab and need some assistance.I&#4294967295;ve a waveform (sine > like shape) in matlab which I want to apply in matlab a band-pass filter > centered at 500kHz to it and then plot the response. I was wondering if > someone can help me with the syntax to achieve this functionality? > > Thanks a million > > Regards, > John
You can use the ellip() function to design the filter you need. It will give you two vectors of coefficients that you then pass to the filter() function to filter the data. Note that you must specify the cutoff frequencies to ellip() in normalized frequency, so you must take the sample rate of your signal into account. Jason
On 7 Aug, 13:07, "john1985" <murray_1...@hotmail.com> wrote:
> Hi, > I'm new to DSP and matlab and need some assistance.I&#4294967295;ve a waveform (sine > like shape) in matlab which I want to apply in matlab a band-pass filter > centered at 500kHz to it and then plot the response. I was wondering if > someone can help me with the syntax to achieve this functionality?
The design of the filter or applying the filter? For the latter check out the FILTER function. If you insist on using the elliptic filter, you will need matlab's signal processing toolbox to find the coefficients. You *can* design the filter yourself, but that will most likely take you ages. Design recipes for other IIR filters, like Butterworth filters, or the windowed FIR filters, can be found online and aren't too difficult to implement from scratch. Rune
You can use Octave 3.0.1 version too. It is free and
can be easily downloaded from www.Octave.org. Both 
PC and linux versions are available.

Regards
Bharat Pathak

Arithos Designs
www.Arithos.com