ECE III II DSP Content
ECE III II DSP Content
ECE III II DSP Content
2) Explain the concept of stability and causality in LTI systems. Derive an expression for
Convolution Sum
3) Determine the unit impulse and step response of the system described by the difference
equation y(n) = 0.9 y(n-1) – 0.81 y(n-2) + x(n)
4) a) A signal is defined as x[n]={-1,2,3,4,-5,3,-2}.
Draw the signals x[-n],x[2n],x[n/2] & x[-n+3]
b) The unit-sample response of a linear-shift-invariant system is known to be zero except in
the interval . The input x (n) is known to be zero except in the interval
. As a result, the output is constrained to be zero except in some interval
. Determine N4andN5 in terms of N0, N1, N2 and N3.
5) a) Determine the impulse response of the system described by the second order
difference equation
b) Find the response of above system for the input
6) An LTI system has impulse response h (n) = u (n). Determine the response of this system to
the input x(n) described as follows
x(n) = 0 n<0
= an 0 n N1
=0 N1 n N2
. = an-N2 N2 n N2+N1
=0 N1+ N2 < n
7) The input output relation of an LTI system is given by . Verify the
System properties
8) a) Two LTI systems are connected in cascade with impulse response
respectively. Compute the impulse response of
the overall system.
b) Explain the frequency domain representation of discrete time signals and systems
9) a) Represent the following sequence graphically
x(n) = δ(n + 3) − 2δ(n + 2) +3δ(n + 1) + δ(n − 1) − 4δ(n − 3)
b) If the above x (n) is given as input to a system with h(n) = u(n) - u(n-5). Plot the
Output y (n).
10) a) By direct evaluation of the convolution sum, determine the step response of a Linear shift-
invariant system whose unit-sample response h(n) is given by h(n) = a−nu(−n), 0 < a < 1.
b) has same energy. Suppose where „ is positive
real number. Assume
11) Classify DT Signals and Systems with suitable examples
12) Make use of the input output relation of an DT LTI system verify the system properties y[n]=
g[n] x[n]
13) Examine the response of an DT LTI system when
x[n] = an u[n] and h[n] = bn u[n] for both the conditions (i) a ≠ b (ii) a = b
14) a) Examine the impulse response of the system described by the second order difference
equation
b) Examine the response of above system for the input
DSP Tutorial # 2
1) Define DFT of a sequence x(n). Obtain the relationship between DFT and DTFT.
2) Consider a rectangular pulse defined as
DSP Tutorial # 3
5) a) Determine the system function and the unit sample response of the system described by the
difference equation
6) Determine the direct form II realization of the LTI system defined by the difference
equation
7) Consider the system . Compute its poles and
design the cascade and parallel realization of the system.
8) Obtain the direct form I and direct form II for the system described by
11) Make use of the properties the Z-Transform Solve the following
(i) Time Shifting Property
(ii) Diffrentiation in Z-domain
(iii)Conjugation Symmetry Property
(iv) Convolution Property
12) Determine the response of the system
b) If then
Examine the system function H(z).
DSP TUTORIAL # 4
4) Design a low pass Butterworth filter using the bilinear transformation method for satisfying
the following constraints: Pass band:0-400 Hz; Stop band: 2.1-5KHz; Pass band ripple: 2dB;
Stop band attenuation : 20dB; Sampling frequency:10 KHz
7) Design an analog Butterworth filter that has a -2dB pass band attenuation at a frequency of 20
rad/sec an atleast -10dB stop band attenuation at 30 rad/sec.
8) Derive the expression for bilinear transformation method. And explain frequency Warping.
9) Use the bilinear transformation to convert the analog filter with system function
1
H ( s)
( s 1)(s 2) into digital IIR filter. Select T=0.1 and compare the location of
zeros in H(z) with the location of zeros obtained by applying the impulse invariance method
in the conversion of H(s).
10) Using the bilinear transformation, design a HPF, monotonic in passband with cutoff
frequency of 1000 Hz and down 10 dB at 350 Hz. The Sampling frequency is 5000Hz.
11) Design a Digital IIR low pass filter with pass band edge at 1000 Hz and stop band edge at
1500 Hz for a sampling frequency of 5000 Hz. The filter is to have a pass band ripple of 0.5
db and stop band ripple below 30 db. Design Butter worth filler using both impulse invariant
and Bilinear transformations.
12) Explain butterworth filter approximation and show that pole location lies on a circle.
14) Design an analog band pass filter with the following characteristics
15) The normalized transfer function of an analog filter is given by Make use of analog to
digital transformation technique convert the analog filter to digital filter with a cutoff of 0.4
using Bilinear transformation technique
16) Show that the pole location of Chebyshev filter lies on circumference of an ellipse.
DSP Tutorial # 5
2) Examine the frequency response of FIR filter defined by y[n] = 0.25x[n] + x[n-1] + 0.25x[n-1]
calculate group delay and phase delay.
Find the values of h[n] for N=11 and plot the Magnitude response.
Find the values of h[n] for N=11 and plot the Magnitude response.
7) Design an ideal High Pass Filter with a frequency response using Hamming window.
H d (e i ) 1 , /2
Find the values of h[n] for N=11.Find H[z].
8) Design an ideal Low Pass Filter with a frequency response using Hanning window.
H d ( e i ) 1 , /3
Find the values of h[n] for N=11, Find H[z]
9) Design an ideal Band Pass Filter with a frequency response using Bartlett Window
H d ( e i ) 1 , / 3 2 / 3
Find the values of h[n] for N=11, Find H[z]
10) Design an ideal Band Pass Filter with a frequency response using Rectangular Window
H d (ei ) e-j3 , / 4
Find the values of h[n] for N=7, Find H[z]
11) Design an ideal Band Stop Filter with a frequency response using Blackman window
H d ( e i ) 1 , / 3 & 2 / 3
12) Realize the following system using min. no of multipliers, direct form and cascade form
1 1 1 1
realization H (z) 1 z -1 z -2 z -3 z -4 z -5
3 4 4 3
13) Design an ideal High Pass Filter with a frequency response using Rectangular Window
Find the values of h[n] for N=11 and plot the Magnitude response.
DSP Tutorial # 6
5) Determine and sketch the up-sampling and down-sampling sequences for Ramp Function k=3.
10) Explain with the help of a block diagram the architecture of TMS320C5X processor.
12) Consider a multi rate system shown in figure. Determine y[n] in terms of x[n].
x[n] 5 20 4 y [n]
13) Consider a multi rate system shown in figure. Determine y[n] in terms of x[n].
x[n]
2 2
Z-1 Z-1
Z-1
2 2
3 y [n]
GATE BITS ON DTFT, DFT and FFT
1. Let (𝑛) = (1/2) 𝑢(𝑛), 𝑦(𝑛) = 𝑥2(𝑛) 𝑎𝑛𝑑 𝑌(𝑒𝑗𝜔) be the Fourier Transform of 𝑦(𝑛). Then
𝑦(𝑒𝑗0 ) is [ ]
(a) 1/4 (b) 2 (c) 4 (d) 4/3
2. A signal (𝑛) = sin(𝜔0𝑛 + 𝑓) is the input to a linear time-invariant system having a
frequency response 𝐻(𝑒𝑗𝜔). If the output of the system (𝑛 − 𝑛0 ), then the most general
form of ∠𝐻(𝑒𝑗𝜔) will be [ ]
(a) −𝑛0𝜔0 + 𝛽 for any arbitrary real 𝛽
(b)−𝑛0𝜔0 + 2𝜋𝑘 for any arbitrary integer k
(c) 𝑛0𝜔0 + 2𝜋𝑘 for any arbitrary integer k
(d)−𝑛0𝜔0
3. A 5-point sequence 𝑥[𝑛] is given as 𝑥[−3]=1, 𝑥[−2]=1, 𝑥[−1]=0, 𝑥[0]=5, 𝑥[1]=1
X (e
j
The value of )dw 𝑖𝑠 [ ]
5. For an N-point FFT algorithm with 𝑁 = 2𝑚, which one of the following statements is
TRUE? [ ]
(a) It is not possible to construct is signal flow graph with both input and output in
normal order
(b) The number of butterflies in the mth state is N/m
(c) In-place computation requires storage of only 2N node data
(d) Computation of a butterfly requires only one complex multiplication
6. The first six points of the 8-point DFT of a real valued sequence are 5, 1 − 𝑗3, 0, 3 − 4𝑗, 0
and 3 + 𝑗4. The last two points of the DFT are respectively [ ]
7. Consider a discrete time periodic signal [𝑛] = sin ( 𝑛 5 ). Let ak be the complex. Fourier
series coefficients of [𝑛]. The coefficients { } are nonzero when 𝑘 = 𝐵𝑚 ± 1, where m is
any integer. The value of B is ______.
QUIZ ON Z TRANSFORMS
Quiz on IIR
14. What is the lowest order of the Butterworth filter with a pass band gain KP= -1 dB at
ΩP= 4 rad/sec and stop band attenuation greater than or equal to 20dB at ΩS= 8 rad/sec?
[ ]
a) 4 b) 5 c) 6 d) 3
15. The magnitude frequency response of a Butterworth filter of order N and cutoff
frequency ΩC is [ ]
a) b)1+ c) d) None of the mentioned
Quiz on FIR
12. The main lobe of the frequency response of a rectangular window of length M? [ ]
a) π/M b) 2π/M c) 4π/M d) 8π/M
13. To reduce side lobes, in which region of the filter the frequency specifications has to be
optimized? [ ]
a) Stop band b) Pass band c) Transition band d) None of the above
Quiz on MSP
1. Sampling rate conversion by the rational factor I/D is accomplished by what connection of
interpolator and decimator? [ ]
a) Parallel b) Cascade c) Convolution d) None of the mentioned
2. What is the process of converting a signal from a given rate to a different rate? [ ]
a) Sampling b) Normalizing c) Sampling rate conversion d) None of the above.
3. In which of the following, sampling rate conversion are used? [ ]
a) Narrow band filters b) Digital filter banks
c) Quadrature mirror filters d) All of the above
4. Which of the following is the disadvantage of sampling rate conversion by converting the
signal into analog signal? [ ]
a) Signal distortion b) Quantization effects
c) New sampling rate can be arbitrarily selected d) Both a & b
5. What is the equation for normalized frequency? [ ]
a) F/Fs b) F.Fs c) Fs/F d) None of the mentioned
6. How is the sampling rate conversion achieved by factor I/D? [ ]
a. By increase in the sampling rate with (I)
b. By filtering the sequence to remove unwanted images of spectra of original signal
c. By decimation of filtered signal with factor D d. All of the above
7. Decimation is a process in which the sampling rate is __________. [ ]
a) Enhanced b) Stable c) Reduced d) Unpredictable
8. Interpolation is a process in which the sampling rate is __________. [ ]
a) Enhanced b) Stable c) Reduced d) unpredictable
9. What is the process of converting a signal from a given rate to a different rate? [ ]
a) Sampling b) Normalizing
c) Sampling rate conversion d) None of the mentioned
10. Which of the following methods are used in sampling rate conversion of a digital signal?
a) D/A convertor and A/D convertor b) Performing entirely in digital domain
c) None of the mentioned
d) D/A convertor, A/D convertor & Performing entirely in digital domain
11. Which of the following is the advantage of sampling rate conversion by converting the signal
into analog signal? [ ]
a) Less signal distortion b) Quantization effects
c) New sampling rate can be arbitrarily selected d) None of the mentioned
12. Which of the following is the disadvantage of sampling rate conversion by converting the
signal into analog signal? [ ]
a) Signal distortion b) Quantization effects
c) New sampling rate can be arbitrarily selected d) Signal distortion & Quantization effects
13. What is the process of reducing the sampling rate by a factor D? [ ]
a) Sampling rate conversion b) Interpolation c) Decimation d) None
14. What is the process of increasing the sampling rate by a factor I? [ ]
a) Sampling rate conversion b) Interpolation c) Decimation d) None
15. A factor-of-2 sampling rate expansion leads to a compression of by a factor of 2 and
a 2-fold repetition in the baseband [0, 2 ]. This process is called……… [ ]
a. imaging b. sampling c. decimation d. none of above
16. A ……..is formed by an interconnection of the up-sampler, the down-sampler, and the
components of an LTI digital filter. [ ]
a. complex multirate system b. complex single-rate system
c. a & b d. none of above
QUIZ ON DSP PROCESSORS
A digital filter takes a digital input, gives a digital output, and consists of digital components.
In a typical digital filtering application, software running on a digital signal processor (DSP)
reads input samples from an A/D converter, performs the mathematical manipulations
dictated by theory for the required filter type, and outputs the result via a D/A converter.
An analog filter, by contrast, operates directly on the analog inputs and is built entirely with
analog components, such as resistors, capacitors, and inductors.
There are many filter types, but the most common are low pass, high pass, band pass, and band
stop.
A low pass filter allows only low frequency signals (below some specified cut-off) through to
its output, so it can be used to eliminate high frequencies. A low pass filter is handy, in that
regard, for limiting the uppermost range of frequencies in an audio signal; it's the type of
filter that a phone line resembles.
A high pass filter does just the opposite, by rejecting only frequency components below some
threshold.
An example high pass application is cutting out the audible 60Hz AC power "hum", which
can be picked up as noise accompanying almost any signal in the U.S.
The designer of a cell phone or any other sort of wireless transmitter would typically place an
analog band pass filter in its output RF stage, to ensure that only output signals within its
narrow, government-authorized range of the frequency spectrum are transmitted.
Note:Engineers can use bandstop filters, which pass both low and high frequencies, to
blockpredefinedrange of frequencies in the middle.
FREQUENCY RESPONSE:
Simple filters are usually defined by their responses to the individual frequency components
that constitute the input signal.
There are three different types of responses. A filter's response to different frequencies is
characterized as passband, transition band, or stopband.
The passband response is the filter's effect on frequency components that are passed through
(mostly) unchanged.
Frequencies within a filter's stopband are, by contrast, highly attenuated. The transition band
represents frequencies in the middle, which may receive some attenuation but are not
removed completely from the output signal.
In Figure 1, which shows the frequency response of a low pass filter, ω p is the passband ending
frequency, ωs is the stopband beginning frequency, and As is the amount of attenuation in the
stopband. Frequencies between ωp and ωs fall within the transition band and are attenuated to
some lesser degree.
Given these individual filter parameters, one of numerous filter design software packages can
generate the required signal processing equations and coefficients for implementation on a
DSP.
Ripple is usually specified as a peak-to-peak level in decibels. It describes how little or how
much the filter's amplitude varies within a band. Smaller amounts of ripple represent more
consistent response and are generally preferable.
Transition bandwidth describes how quickly a filter transitions from a passband to a
stopband, or vice versa. The more rapid this transition, the higher the transition bandwidth;
and the more difficult the filter is to achieve. Though analmost instantaneous transition to full
attenuation is typically desired, real-world filters don't often have such ideal frequency
response curves.
There is, however, a trade-off between ripple and transition bandwidth, so that decreasing either
will only serve to increase the other.
A Finite Impulse Response (FIR) filter is a filter structure that can be used to implement
almost any sort of frequency response digitally. An FIR filter is usually implemented by
using a series of delays, multipliers, and adders to create the filter's output.
In signal processing, a Finite Impulse Response (FIR) filter is a filter whose impulse
response (or response to any finite length input) is of finite duration, because it settles to zero
in finite time. This is in contrast to infinite impulse response (IIR) filters, which may have
internal feedback and may continue to respond indefinitely.
The impulse response of an Nth-order discrete-time FIR filter lasts exactly N + 1 samples
before it then settles to zero.
FIR filters can be discrete-time or continuous-time, and digital or analog.
Figure 2 shows the basic block diagram for an FIR filter of length N. The delays result in
operating on prior input samples. The hk values are the coefficients used for multiplication, so
that the output at time n is the summation of all the delayed samples multiplied by the
appropriate coefficients.
The process of selecting the filter's length and coefficients is called filter design. The goal is to
set those parameters such that certain desired stopband and passband parameters will result from
running the filter. Most engineers utilize a program such as MATLAB to do their filter design.
But whatever tool is used, the results of the design effort should be the same:
A frequency response plot, like the one shown in Figure 1, which verifies that the filter
meets the desired specifications, including ripple and transition bandwidth.
The filter's length and coefficients.
The longer the filter (more taps), the more finely the response can be tuned.
With the length, N, and coefficients, float h[N] = { ... }, decided upon, the implementation of the
FIR filter is fairly straightforward. Listing 1 shows how it could be done in C. Running this code
on a processor with a multiply-and-accumulate instruction (and a compiler that knows how to
use it) is essential to achieving a large number of taps.
As you can see, an FIR filter simply produces a weighted average of its N most recent input
samples. All of the magic is in the coefficients, which dictate the actual output for a given pattern
of input samples.
Other digital filter structures are possible, including infinite impulse response (IIR), which uses
feedback to keep more historical information active in the calculation.
GENERAL FORMULAE:
The term finite impulse response arises because the filter output is computed as a weighted,
finite term sum, of past, present, and perhaps future values of the filter input, i.e.,
In general, the class of causal FIR filters has difference equation of the form
Symmetrical Lowpass ,
impulse high pass ,
response N Band pass ,
where
odd Band stop
Symmetrical Lowpass ,
impulse
Band pass ,
response N
even
asymmetrical Differentiat
impulse or, Hilbert-
response N Transformer
odd
asymmetrical Differentiat
impulse or, Hilbert-
response N Transformer
even
The term FIR abbreviation is “Finite Impulse Response” and it is one of two main types of
digital filters used in DSP applications. Filters are signal conditioners and function of each filter
is, it allows an AC components and blocks DC components.
The frequency response plot of the filter is shown below, where ωp is the passband ending
frequency, ωs is the stopband beginning frequency, As is the amount of attenuation in the
stopband. Frequencies b/n ωp and ωs drop in the transition band and are reduced to some lesser
degree. That confirms that the filter meets the preferred specifications includes transition
bandwidth, ripple, filter‟s length and coefficients. The longer the filter, the more finely the
response can be tuned. With the N length and coefficients, float h[N] = {…………}, decided
upon, the FIR filter implementation is fairly straightforward.
Z Transform of an FIR Filter is
H(z)=h(0)z-0 + h(1)z-1 + h(2)z-2 + ……… h(N-1)z-(N-1) or
Example
=0 otherwise
Hanning Window
The hanning window sequence is obtained by substituting α=0.5 in Raised cosine Window
sequence
for -
0 Otherwise
for -
0 otherwise
Hamming Window
Hamming window sequence
for -
0 otherwise
for -
0 otherwise
Kaiser Window
The Kaiser Window is given by
for | n | ≤ (N-1)/2
0 Otherwise
Step 1:
Type of filter – low-pass filter
Filter specifications:
Filter order – N=10
Sampling frequency – fs=20KHz
Passband cut-off frequency – fc=2.5KHz
Step 2:
Method – filter design using rectangular window
Step 3:
Filter order is predetermined, N=10;
A total number of filter coefficients is larger by one, i.e. N+1=11; and
Coefficients have indices between 0 and 10.
Step 4:
All coefficients of the rectangular window have the same value equal to 1.
w[n] = 1 ; 0 ≤ n ≤10
Step 5:
The ideal low-pass filter coefficients (ideal filter impulse response) are expressed as:
where M is the index of middle coefficient.
The values of coefficients (rounded to six digits) are obtained by combining the values of M and
ωc withexpression for the impulse response coefficients of the ideal low-pass filter:
Step 7:
The filter order is predetermined.
There is no need to additionally change it.
Step 5:
The ideal low-pass filter coefficients (ideal filter impulse response) are given in the expression
below:
Since the value of M is not an integer, the middle element representing a center of coefficients
symmetry doesn‟t exist.
Normalized cut-off frequency ωc can be calculated using expression:
The values of coefficients (rounded to six digits) are obtained by combining the values of M and
ωc with expression for the impulse response coefficients of the ideal low-pass filter:
St
ep 6:
The designed FIR filter coefficients are found via expression:
h[n] = w[n] * hd[n] ; 0 ≤ n ≤9
Step 5:
The ideal low-pass filter coefficients (ideal filter impulse response) are expressed as:
Step 6:
The designed FIR filter coefficients are found via expression:
h[n] = w[n] * hd[n] ; 0 ≤ n ≤ 10
Step 7:
The filter order is predetermined.
There is no need to additionally change it.
The transition region of the filter to be designed is approximately twice that of the filter given in
the table above. For the first iteration, the filter order can be half of that.
The values of coefficients (rounded to six digits) are obtained by combining the values of M and
ωc with expression for the impulse response coefficients of the ideal low-pass filter:
S
tep 6:
The designed FIR filter coefficients are found via expression:
h[n] = w[n] * hd[n] ; 0 ≤ n ≤ 10
Different Windows
The table below gives the equations for different window types.
Window Type
Weight Equation
Rectangular
Bartlett
Hanning
Hamming
Blackman
The plots below show the effect on the filter's frequency response before applying the Hamming
Window (green) and after (red). The trick is to select the window type and filter length that will
give a filter with the correct rate of roll-off and level of attenuation in the stop band
The image below shows the effect of different windows on the frequency response of a 28th
Order (29 weights) low pass filter, with a cut-off frequency of 5000Hz and sampling frequency
of 44100Hz.
FIR FILTERS USING FOURIER SERIES
This is historically the first approach to FIR filters and can still be used when combined with
windows.
Next the Fourier series of this frequency response is found using the equation below. This is
a discrete function in the time domain and is the impulse response I(k) of the filter, f s is the
sampling frequency.
The impulse response I(k) is of infinite length. In order to be able to realize the filter, the impulse
response must be truncated. If N is the desired length(also referred to as the number of taps of
the filter) of the filter then
This truncation means that the impulse response of the filter is of finite length and the filter is
referred to as an FIR filter.
For verification the frequency response of the system with the impulse response is calculated
using the Discrete Time Frequency Transform.
For implementation the impulse response is shifted to the right so it starts from time zero.
There are 4 different types of FIR filters described in the literature. In these pages only Type
1, (N is odd and the impulse response is symmetric) is considered. This is the most flexible
type.
A(f) is a low pass filter frequency response shown by the yellow line. I(k) is the impulse
response shown in pink.
The magnitude of the frequency response calculated from I(k) using the DTFT is shown in
red(linear scale) and green(log scale). Because the impulse response used contains only a
finite number of terms, then the frequency response contains ripples.
This is the frequency domain equivalent of the Gibbs phenomenon and limits the attenuation
which is achievable in the stop band. The magnitude of the frequency response is symmetric
about half the sampling frequency and the impulse response is symmetric about its maximum
value.
The sharp drops to zero in the stop band indicates that the transfer function has zeros on the
unit circle in the stop band. Although the green curve does not look like it, it is in fact
nothing more than a logarithmic plot of the Gibbs phenomenon shown by the red curve.
The output y(n) from the filter can be calculated from the input x(n) and the impulse response
I(m) by the following equation. This is a convolution equation.
The block diagram below containing delay elements, multipliers and adders can be used to
realize the filter. This is essentially a circuit for calculating the convolution sum. For a
symmetric impulse response, it is possible to reduce the diagram below, so the number of
multipliers is reduced by 2. The circuit does not use any feedback, so is described as Non
Recursive and is always stable. For long filter lengths it is more efficient to realize the filter in
the frequency domain using the FFT.
For high pass with cut off frequency the impulse response is:-
For band pass with cut off frequencies and the impulse response is:-
For band stop with cut off frequencies and the impulse response is:-
FIR filters have 2 important features. They contain only zeros (poles which do not affect the
frequency response are included at the origin to make the filter causal) and they are linear
phase filters.
The latter being a consequence of the symmetric impulse response.
When summing the Fourier series with a finite number of terms, a convergence factor may be
added.
This factor reduces the contribution of the higher harmonics in order to get a time function
where the Gibbs phenomenon is minimised. Here a similar problem arises.
In order to get a frequency response which minimises the effect of the Gibbs phenomenon,
then a 'convergence' factor has to be added to reduce the effect of the higher terms in the
impulse response. This factor is called a window and the shape of this window is the main
issue in the design of FIR filters using the Fourier series.
In the following applets, the frequency and impulse respose as well as the phase response and
zero locations are shown for the different FIR filter types.
The applets are only approximate and are here for illustrative and educational purposes. The
filters they produce are not accurate enough for practical applications.
Frequency sampling method:
The frequency sampling method allows us to design recursive and non recursive FIR filters for
both standard frequency selective and filters with arbitrary frequency response.
where H (k), k = 0, 1, 2,……., N-1, are samples of the HD (ω) . For linear phase filters, with
positive symmetrical impulse response, we can write
where α = (N-1)/2. For N odd, the upper limit in the summation is (N - 1)/2, to obtain a good
approximation to the desired frequency response, we must take a sufficient number of the
frequency samples
In recursive frequency sampling method the DFT samples H (k) for an FIR sequence can be
regarded as samples of the filters z– transform, evaluated at N points equally spaced around the
unit circle.
thus the z–transform of an FIR filter can easily be expressed in terms of its DFT coefficients
The above equation is reduced to
Example problem
Determine the impulse response of FIR filter of length 7 to meet the following specifications.
0 otherwise
0 otherwise
0 otherwise
0 otherwise
7/4 = 1.75 2
0 otherwise
when M is odd
H(0) = =1
h(0) = 0
h(1) = 0
h(2) = 0
h(3) = 1
Hence
h(4) = h(2) = 0
h(5) = h(1) = 0
h(6) = h(0) = 0
IIR stands for infinite impulse response FIR stands for finite impulse response
systems systems