<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/263528</link>
    <title>MATLAB Central Newsreader - filtfilt function</title>
    <description>Feed for thread: filtfilt function</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 19 Oct 2009 14:34:03 -0400</pubDate>
      <title>filtfilt function</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/263528#688119</link>
      <author>Florian </author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
I want to create a 4th order zero-phase digital butterworth filter with a cutoff frequency of 10Hz. Sofar I was using:&lt;br&gt;
&lt;br&gt;
Fs=1000; % sample frequency&lt;br&gt;
Fc=10; %cutoff frequency&lt;br&gt;
[B,A]=butter(4,Fc/(Fs/2));    &lt;br&gt;
signal_filt=filtfilt(B,A,signal);&lt;br&gt;
&lt;br&gt;
Now, I have two questions:&lt;br&gt;
1. I just read in the help function that the &quot;filter order is double the order of the filter specified by B and A&quot;.&lt;br&gt;
Does that mean that I am currently using a 8th order zero-phase digital butterworth filter with a cutoff of 10Hz??&lt;br&gt;
&lt;br&gt;
2. Talking about the cutoff frequency. Filtering also in the reverse direction, does this process decrease the defined cutoff fc (10Hz)?&lt;br&gt;
&lt;br&gt;
Your help for clarification is much appreciated.&lt;br&gt;
Thanks</description>
    </item>
    <item>
      <pubDate>Tue, 27 Apr 2010 21:03:04 -0400</pubDate>
      <title>Re: filtfilt function</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/263528#739949</link>
      <author>Javier Lopez-Calderon</author>
      <description>&quot;Florian &quot; &amp;lt;sppgwff@brunel.ac.uk&amp;gt; wrote in message &amp;lt;hbhtcr$b1$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I want to create a 4th order zero-phase digital butterworth filter with a cutoff frequency of 10Hz. Sofar I was using:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Fs=1000; % sample frequency&lt;br&gt;
&amp;gt; Fc=10; %cutoff frequency&lt;br&gt;
&amp;gt; [B,A]=butter(4,Fc/(Fs/2));    &lt;br&gt;
&amp;gt; signal_filt=filtfilt(B,A,signal);&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Now, I have two questions:&lt;br&gt;
&amp;gt; 1. I just read in the help function that the &quot;filter order is double the order of the filter specified by B and A&quot;.&lt;br&gt;
&amp;gt; Does that mean that I am currently using a 8th order zero-phase digital butterworth filter with a cutoff of 10Hz??&lt;br&gt;
&lt;br&gt;
Yes. And also your cutoff (10 Hz) is at -6db (half-amplitude), not -3db as using filter.m&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 2. Talking about the cutoff frequency. Filtering also in the reverse direction, does this process decrease the defined cutoff fc (10Hz)?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Your help for clarification is much appreciated.&lt;br&gt;
&amp;gt; Thanks</description>
    </item>
  </channel>
</rss>

