Anti-aliasing filter design

53 views (last 30 days)
L'O.G. on 3 Jun 2022
Commented: Star Strider on 3 Jun 2022
Can you use the lowpass function as an anti-aliasing filter, or is there some preferrable way to do it such as using the butter function?

Accepted Answer

Star Strider
Star Strider on 3 Jun 2022
Yes, generally. The lowpass function designs a FIR filter by default, and will design an efficient elliptic IIR filter if the 'ImpulseResponse','iir' name-value pair is included in the argument list.
We had the anti-aliasing discussion before, so I will not repeat it here.

More Answers (1)

Jon on 3 Jun 2022
For the purposes of preventing aliasing the only thing that is essential is that the resulting frequency content that is above the Nyquist frequency is neglibibly small. So any filter with sufficient attenuation above Nyquist frequency will work.
The choice of which filter to use then depends upon the application. There are various tradeoffs, which must be considered, and different filter types are better for particular applications. For example, If the application is for a real time signal, particularly within a feedback loop then the delay will be quite important. If the application is for an offline application where the signal can be post processed, then the delay can be removed.




Community Treasure Hunt

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

Start Hunting!