Anti-aliasing filter design
조회 수: 101 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
채택된 답변
Star Strider
2022년 6월 3일
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.
추가 답변 (1개)
Jon
2022년 6월 3일
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.
I woud suggest Googling choice of antialiasing filters to get some further ideas and details, for example: https://www.digikey.com/en/articles/the-basics-of-anti-aliasing-low-pass-filters#:~:text=Selecting%20a%20filter%20type&text=The%20most%20commonly%20used%20are,the%20application%20(Figure%203).&text=The%20three%20filter%20responses%20shown%20have%20specific%20characteristics.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Digital and Analog Filters에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!