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: zero phase low pass filter - filtfilt and IFIR
Replies: 9   Last Post: May 15, 2013 4:25 AM

Advanced Search

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

Posts: 1
Registered: 5/15/13
Re: zero phase low pass filter - filtfilt and IFIR
Posted: May 15, 2013 4:25 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Too late maybe for you, but there's always people looking for the same questions (as me).

The easiest way I found to do that is with a butter filter and with fitfit. I don't know if every butter filter works with fitfit but the ones I've used does. The way of use fitfit with a filter object is:

h = fdesign.bandpass('fst1,fp1,fp2,fst2,ast1,ap,ast2', Fstop1, Fpass1, ...
Fpass2, Fstop2, Astop1, Apass, Astop2, Fs);

Hd = design(h, 'butter', ...
'MatchExactly', 'passband', ...
'SOSScaleNorm', 'Linf');

y = filtfilt(Hd.sosMatrix,Hd.ScaleValues,x);


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.