Decimation/Interpolation - Anti-Aliasing and Anti-imaging Filter Design in MATLAB
51 views (last 30 days)
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
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.
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!