FiltFilt function to filter a 50Hz signal

4 views (last 30 days)
Fabio Tieri
Fabio Tieri on 7 Oct 2015
Answered: Star Strider on 7 Oct 2015
Dear all,
I have a doubt regarding the use of the filtfilt function. It's possible to apply this function to filter the noises in a DC signal acquired at 50Hz or it's necessary to use another or personal function?
Thanks
Fabio

Answers (1)

Star Strider
Star Strider on 7 Oct 2015
First, you have to design the ‘bandstop’ (or ‘notch’) filter to eliminate the 50 Hz noise. Then use filtfilt to filter the signal.
One example of such a filter specification is Bandstop Butterworth Filter. (My filter design procedure is here.)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!