Anti-aliasing filter design

124 vues (au cours des 30 derniers jours)
L'O.G.
L'O.G. le 3 Juin 2022
Commenté : Star Strider le 3 Juin 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?

Réponse acceptée

Star Strider
Star Strider le 3 Juin 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.
  2 commentaires
L'O.G.
L'O.G. le 3 Juin 2022
Thank you!
Star Strider
Star Strider le 3 Juin 2022
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (1)

Jon
Jon le 3 Juin 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.

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by