Efficient Multirate Filtering

by Ljiljana D. Milic,    Miroslav D. Lutovac

in Multirate Systems: Design and Applications

Editor: Gordana Jovanovic-Dolecek

Idea Group Publishing, Hershey (USA), 2002


Efficient Multirate Filtering

 Contents  Abstract  Conclusion  Figures  FREE software
 Introduction  Conversion  Narrow-Band  Half-Band  MATLAB Scipts

EMF MATLAB Scipts

Program: emf_1.m
illustrates decimation and interpolation by M=L=5 using the specification
from Figure 1(a), and polyphase implementations from Figures 2 and 3.
Program emf_2.m
illustrates decimation and interpolation by M=L=5 using the specification
from Figure 1(b), and polyphase implementations from Figures 2 and 3.
Program emf_3.m
illustrates decimation and interpolation by M=L=5 using the specification
from Figure 1(c), and polyphase implementations from Figures 2 and 3.
Program emf_4.m
illustrates the sampling rate conversion by M=L=2 based on
polyphase implementation from Figures 4 (a) and (b).
Half-Band IIR filter with allpass polyphase subfilters is used.
Program: emf_5.m
illustrates the sampling rate conversion by the rational factor L/M=3/2.
Decimation/interpolation scheme is implemented.
An optimal FIR filter is used.
Program: emf_6.m
demonstrates the multistage implementation of the
narrow-band lowpass FIR filter.
It designs kernel filter and decimation/interpolation filter
and computes the overall characteristic of the multistage filter.
Program: emf_7.m
illustrates narrow-band lowpass FIR filter design
using frequency-response masking technique.
The narrow-band filter is implemented as a cascade od
the periodic model filter and the masking filter, see Figure 7.
Program: emf_8.m
illustrates wide-band lowpass FIR filter design
using frequency-response masking technique.
The wide-band filter is implemented according to the structure of Figure 8.
We choose M=4, and determine parameter k and
boundary frequencies for masking filters, see Figure 8.
Program: emf_9.m
illustrates wide-band lowpass IIR filter design
using frequency-response masking technique.
The wide-band filter is implemented according to the structure of Figure 10.
Program: emf_10.m
Halfband FIR filter design.
B = HALFBANDFIR(N,Fp) designs a lowpass N-th order halfband FIR filter with an equiripple characteristic.
The filter order N is an element of {2,6,10,14,18,..., n,n+4,...}.
Fp determines the passband edge frequency that must satisfy
0 < Fp < 1/2 where 1/2 corresponds to p/2 [rad/sample].
Program: emf_11.m
Halfband IIR filter design.
[B,A,Z,P,K] = HALFBANDIIR(N,Fp) designs a lowpass N-th order halfband IIR filter with an equiripple characteristic.
The filter order, N, must be selected such that N is an odd integer.
Fp determines the passband edge frequency that must satisfy
0 < Fp < 1/2 where 1/2 corresponds to p/2 [rad/sample].
Program: emf_12.m
Halfband IIR filter design.
[B,A,Z,P,K] = HALFBANDIIRA(N,Dev) designs a lowpass N-th order halfband IIR filter with an equiripple characteristic.
[B,A,Z,P,K,Fp] = HALFBANDIIRA(N,Dev) designs the filter where Fp is the passband edge frequency.
The filter order N must be selected such that N is an odd integer.
Dev is a passband ripple that must satisfy 0 < Dev (linear) < 0.29289 or
stopband attenuation that must satisfy Dev (dB) > 3.1.

MAIN SCRIPT, BASIC OPERATIONS, DEMOS and FIGURES

emf_1.m - Decimation and interpolation, spec from Figure 1(a)
emf_2.m - Decimation and interpolation, spec from Figure 1(b)
emf_3.m - Decimation and interpolation, spec from Figure 1(c)
emf_4.m - Sampling rate conversion, polyphase implementation with allpass polyphase subfilters
emf_5.m - Sampling rate conversion by the rational factor
emf_6.m - Multistage implementation of the narrow-band lowpass FIR filter
emf_7.m - Narrow-band lowpass FIR filter, frequency-response masking technique
emf_8.m - Wide-band lowpass FIR filter, frequency-response masking technique
emf_9.m - Wide-band lowpass IIR filter design, frequency-response masking technique
emf_10.m - Halfband FIR filter design
emf_10w.m - Halfband FIR filter design
emf_11.m - Halfband IIR filter design
emf_11w.m - Halfband IIR filter design
emf_12.m - Halfband IIR filter design
emf_12w.m - Halfband IIR filter design
emf_contents.m - Draw Contents
emf_figures_1a_2_3.m - Draw Figures 1a, 2, 3
emf_figures_1b_2_3.m - Draw Figures 1b, 2, 3
emf_figures_1c_2_3.m - Draw Figures 1c, 2, 3
emf_figure_4.m - Draw Figure 4
emf_figure_7.m - Draw Figure 7
emf_figure_8.m - Draw Figure 8
emf_figure_10.m - Draw Figure 10
emf_figure_11.m - Draw Figure 11
emf_figure_12.m - Draw Figure 12

BASIC FUNCTIONS

halfbandfir.m - Halfband FIR filter design
halfbandiir.m - Halfband IIR filter design
halfbandiira.m - Halfband IIR filter design

DRAW FUNCTIONS

drawadd.m - Draw adder
drawarrw.m - Draw arrow
drawblo.m - Draw single-input single-output block
drawdel.m - Draw delay
drawdown.m - Draw down-sampler
drawin.m - Draw input
drawlhv.m - Draw line horizontal + vertical
drawline.m - Draw line between 2 points
drawlvh.m - Draw line vertical + horizontal
drawmult.m - Draw multiplier
drawnode.m - Draw node
drawout.m - Draw output
drawpoly.m - Draw polyline
drawtext.m - Draw text
drawupsa.m - Draw up sampler


Obtain by e-mail our FREE software
MATLAB script files on Efficient Multirate Filtering.

Last updated September 9, 2008