MATLAB Answers

Low pass filter design

6 views (last 30 days)
Bob
Bob on 20 Nov 2020
Commented: Star Strider on 21 Nov 2020
Hi,
Is it good Idea to design low pass filters (moving average , FIR filter, Kalman filter, Butterworth and Chebyshev filter) with same filter parameters (cut off frquancy, filter order etc.) for comparision purpose inorder to filter the higer frequancy noise?
For the selction of best filter to filter higher frequancy noise.

  0 Comments

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 20 Nov 2020
My preference would be an elliptic IIR filter for efficiency. See the documentation for ellip for details. For best results, begin with ellipord, and get the [z,p,k] output from ellip, then use second-order-section representation for stability with zp2sos. Use that result with filtfilt to do the actual filtering.

  10 Comments

Show 7 older comments
Star Strider
Star Strider on 21 Nov 2020
Thank you!
I encourage you to experiment with this. For example, for the IIR design, design a 6th-order elliptic filter and a 6th-order Butterworth design to compare it with. For the FIR design, I would use the fir1 function, although others are applicable. Choose the one that works best for you.
Use the freqz function on all of them to demonstrate the filter Bode plots. The freqz documentation explains how to use it with both types of filters.
Bob
Bob on 21 Nov 2020
Thank you so much
Star Strider
Star Strider on 21 Nov 2020
As always, my pleasure!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by