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 ]

Posts: 151
Registered: 7/24/09
Re: IIR Filters - Matlab's Filter - Speed Improvements
Posted: Dec 17, 2010 4:58 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Royi Avital" <> wrote in message <iegial$psl$>...
> "Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <ie1svc$p6r$>...
> > "Royi Avital" <> wrote in message <ie1mqg$ld0$>...
> > > As I said, I'm trying to speed up the operation of a simple IIR filter. That's it.
> > >
> > > I was wondering if someone has any experience with that.
> > > Is it possible to beat Matlab's "filter" command with a MEX file?
> > > Anyone has ever managed to beat the filter command using other Matlab's built in functions?

> >
> > Hardly. There is no evidence to think Matlab filter is sloppy.
> >
> > Bruno

> No one has ever tried to improve it using MEX?
> How about using the GPU?

Doesn't Matlab's filter function implement the difference equation directly? If so, it might be faster to use fft and the convolution theorem, depending on the filter and signal lengths, and how often you need to recompute the ffts.

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.