The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: IIR Filters - Matlab's Filter - Speed Improvements
Replies: 8   Last Post: Dec 17, 2010 4:58 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Wayne King

Posts: 2,961
Registered: 4/1/09
Re: IIR Filters - Matlab's Filter - Speed Improvements
Posted: Dec 7, 2010 8:07 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Royi Avital" <> wrote in message <idlapd$jb8$>...
> "Royi Avital" <> wrote in message <idku68$iao$>...
> > Hello.
> > I'm running an intense simulation which applies an IIR Filter on a large amount of data.
> >
> > I'm using Matlab's filter function -
> >
> > the problem is this procedure takes up to 60% of the running time of the Simulation.
> >
> > I was wondering if anyone has experience how to speed it up?
> > Any MEX file?
> >
> > I need the most simple implementation - I give the Coefficients and the Data Vector.
> >
> > Thanks.

> Anyone?
> Thanks!

Hi Royi, filter() is a built-in function. Are you saying that the call:

output = filter(B,A, data);

is eating up all your simulation time? Or are you designing your filter inside the simulation?


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.