Rational Resampling
- Updated2025-10-10
- 4 minute(s) read
Rational resampling (also known as fractional sampling) is the process of converting the sampling frequency of a signal to another sampling frequency that differs from the original frequency by a rational factor of L/M, where both L and M are integer values.
You can implement a rational resampling system by cascading an L−fold expander with an M−fold decimator. You must place the expander before the decimator to avoid discarding useful frequency components in the decimation operation. The following figure shows a rational resampling filter with a rational factor of L/M.
This rational resampling filter first interpolates the input signal x(n) with an L−fold expander and changes the sampling frequency of the original signal fs to a new sampling frequency Lfs. The expander returns an output signal v(n) with this new sampling frequency. Both the interpolation filter following the expander and the decimation filter preceding the decimator are lowpass FIR filters, and the two filters operate at the same sampling frequency Lfs. Therefore, you can integrate the two filters into one lowpass filter H(z) and place the filter between the expander and the decimator. The filter H(z) returns a new signal w(n). This rational resampling filter then decimates the signal w(n) with an M−fold decimator and changes the sampling frequency from Lfs to (L/M)fs. The decimator returns an output signal y(n) with this new sampling frequency.
The following figure illustrates the rational resampling of a signal by a factor of 2/3.
The different parts in the figure correspond to the different spectra of the signal at different stages of the rational resampling process, as shown in the previous figure. Because L<M, the lowpass filter has a cutoff frequency of Lfs/(2M) and acts as an anti-aliasing filter. Part (e) of this figure shows the spectrum of the output signal if you use a lowpass filter. You can see that no aliasing occurs. From part (f) of this figure, you can see that if no lowpass filter exists, or if you choose the cutoff frequency of the lowpass filter to be fs/2, aliasing occurs between each spectrum image of the decimated signal. The overlapping spectra indicate aliasing due to the decimation operation.
To design rational resampling filters, use the Rational instance of the DFD MRate Filter Design VI.