Thread Subject: help with filtfilt

Subject: help with filtfilt

From: Charbel

Date: 29 Oct, 2009 14:30:19

Message: 1 of 1

Iim using the application filtfilt to filter a signal in Matlab:

m=10;
b=ones(1,m);
a=m;

Signal_filtered=filtfilt(b,a,original_signal)

Problem:i know that the more m is higher, the more the filter is efficient, but not all the signal need to be filtered.

for example if the signal vary on a interval between [-180?,180?].
the part between -180? et 10? doesn't need to be filtered, it's already smooth, but the second part contains a lot of perturbation and needs to be filtered.

how can i use this filtfilt application in a way that it can itself identify the part that need to be filtered and doesn't touch the smooth part?

i'm asking this because when i fix m=50;
the second part is well filtered but the smooth part changes its value, which it is wrong.

Any suggestions?

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
filtfilt Charbel 29 Oct, 2009 10:34:09
filter Charbel 29 Oct, 2009 10:34:09
lowband Charbel 29 Oct, 2009 10:34:09
frequency Charbel 29 Oct, 2009 10:34:09
highband Charbel 29 Oct, 2009 10:34:09
fir Charbel 29 Oct, 2009 10:34:09
iir Charbel 29 Oct, 2009 10:34:09
rssFeed for this Thread

Contact us at files@mathworks.com