Decimation/Interpolation - Anti-Aliasing and Anti-imaging Filter Design in MATLAB
20 views (last 30 days)
Show older comments
I've got a discrete time signal that I'm looking to decimate and interpolate.
To decimate, I understand that the signal must first be passed through a low pass filter (anti-aliasing filter) before being decimated (taking 1 sample every M as output, where M is the decimation factor). See diagram below
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/915259/image.png)
To interpolate, the signal must be filled with zeros according to the factor of interpolation and the signal must then be passed through a low pass (anti-imaging) filter. See diagram below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/915264/image.png)
How can I go about designing an anti-aliasing and anti-imaging filter using MATLAB? I want to create my filter as an FIR filter.
Any resources would be greatly appreciated!
0 Comments
Answers (1)
Star Strider
on 5 Mar 2022
Have you experimented with it, or do you simply want to reproduce its results?
4 Comments
Star Strider
on 5 Mar 2022
The old stand-bys in signal processing are Oppenheim and Proakis (textbooks I used in grad school in different courses) although there are others, and much can be found online. I’ve not used these specific techniques to design filters since grad school (a while ago), letting MATLAB do everything for me, so you will need to see which is best for your needs.
I would experiment with the coding them in MATLAB and then compare them with the filter designs MATLAB produces as the ‘correct’ result.
See Also
Categories
Find more on Filter Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!