DSP-SP Viva Reference
DSP-SP Viva Reference
DSP-SP Viva Reference
NAME :
Sr TOPIC
No
PAGE
3.
Analysis of DT system using Z-Transform 18
ii) Associative
( x [n] * h1[n] * h2[n] ) = ( x [n] * h1[n] ) * h2[n]
iii) Distributive
x[n] * [h 1[n ] + h 2 [ n ]] = x [n] * h1[n] + x[n] * h2[n].
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 3
(4) How many real multiplications and additions are required to find DFT of 32 point signal.?
Ans : By DFT
(i) Real Multiplications = 4 N 2 = 4(32) 2 = 4096
(i) Real Additions = 4 N 2 − 2 N = 40321
(5) How many complex multiplications and additions are required to find FFT ?
Ans : By DFT
N
(i) Complex Multiplications = log 2 N
2
(ii) Complex Additions = N log 2 N
(6) How many real multiplications and additions are required to find DFT of 32 point signal using
FFT algorithm?
Ans : By FFT
(i) Real Multiplications = 2 N log 2 N = 320
(ii) Real Additions = 3 N log 2 N = 480
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 4
Ans : Scaling Property : If signal is multiplied by constant Then DFT is also multiplied by the same
constant. i.e. DFT { a x 1 [n] } = a X 1 [k]
Linearity Property : If signals are added, Then DFT’s are also added.
i.e. DFT { a x 1 [n] + b x 2 [n] } = a X 1 [k] + b X 2 [k
{ }
DFT W N− mn x [n] = X [k − m]
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 5
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 6
(25) If DT signal is expanded in time domain what will be the effect in frequency domain?
Ans : Expansion in time domain corresponds to Compression in frequency domain.
Eg. x[n] = {1,2,3,2 } X[k] = { 8, –2, 0, –2}
Let p[n] = {1, 0, 2, 0, 3, 0, 2,0 } Then P[k] = { 8, –2, 0, –2, 8, –2, 0, –2}
(26) If DT signal is compressed in time domain what will be the effect in frequency domain?
Ans : Compression in time domain corresponds to Expansion in frequency domain.
Eg. x[n] = {1, 0, 2, 0, 3, 0, 2,0 } X[k] = { 8, –2, 0, –2, 8, –2, 0, –2}
Let p[n] = {1,2,3,2 } Then P[k] = { 8, –2, 0, –2 }
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 7
Complex Multiplications
DFT FFT
N
N2 N
log 2 N
2
16 256 32
32 1,024 80
64 4,096 192
256 65,536 1,024
512 2,62,144 2,304
1024 10,48,576 5,120
i N −1
(vi) Find y[n] where y[n] = ∑ Y [k ] WN− nk
N K=0
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 8
(38) Let x[n] = { 1, 2, 3, 4 }, and h[n] = { 5, 6, 7 }. Both are non-periodic finite length sequences.
Give step by step procedure to obtain linear convolution using FFT–IFFT
(39) How to find output of the filter using DFT ?
Ans : Output of the filter is Linear convolution of impulse response with the input of the signal.
To find output means to find LC by DFT.
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 9
(42) What is the difference between circular convolution and periodic convolution ?
Ans : In periodic convolution input signals are originally periodic with common value of period.
In circular convolution, if input signals are not periodic then they are assumed to be periodic with
period = N where N = max(L,M) where L is the length of x[n] and M is the length of h[n].
(46) How to find output of FIR filter for long input sequence.
Ans : To find output of digital FIR filter FFT technique is used. But for Long data sequence, direct FFT
technique is not suitable.
For long data sequence, Overlap Add Method using FFT and Overlap Save Method using FFT is
used.
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 10
2π
frequency spacing of w = we get DFT coefficients. i.e. X [ k ] = X ( w) 2πk
N w=
N
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 11
(57) What is the effect of increasing length of signal by padding zeros on DFT results.?
Ans : As the length of signal increases, the frequency spacing decreases. The number of points per unit
length i.e. resolution of the spectrum increases. Therefore the approximation error in the
representation of the spectrum decreases.
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 12
1] x[n – 1] = ?
Let y[n] = x[n – 1]
Y [k ] = W NK X [k ]
⎡ 1⎤ ⎡ 1⎤
⎢ − j⎥ ⎢ 2 ⎥⎥
=⎢ ⎥⎢
⎢ −1 ⎥ ⎢ 3⎥
⎢ ⎥⎢ ⎥
⎣ j⎦⎣ 4⎦
⎡ 1 k =0
⎢ −2 j
⎢
Y(k) = ⎢ −3
⎢
⎣ 4j
2] x[n + 1] = ?
3] x(-n) = ?
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 13
⎡1 k = 0
⎢4
Y[k] = ⎢
⎢3
⎢
⎣2
4] x(-n + 1) = ?
⎡ 1⎤ ⎡1⎤
⎢ − j⎥ ⎢ 4 ⎥
DFT {x (−n + 1)} = ⎢ ⎥⎢ ⎥
⎢ −1 ⎥ ⎢ 3 ⎥
⎢ ⎥⎢ ⎥
⎣ j ⎦ ⎣2⎦
⎡ 1 k =0
⎢− 4 j
DFT {x (−n + 1)} = ⎢
⎢ −3
⎢
⎣ 2j
5] x(–n – 1) = ?
Let y(n) = x(– n)
Put n = n + 1
y[n + 1]= x(–n–1)
= WN−k X[-k]
⎡ 1⎤ ⎡1⎤
⎢ j ⎥ ⎢4⎥
=⎢ ⎥ ⎢ ⎥
⎢ −1⎥ ⎢3⎥
⎢ ⎥ ⎢ ⎥
⎣ − j⎦ ⎣2⎦
⎡ 1 k = 0⎤
⎢ 4j ⎥
= ⎢ ⎥
⎢−3 ⎥
⎢ ⎥
⎣− 2 j ⎦
6] x[n] * x[n]=?
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 14
By DFT,
Y[k] = 2 DFT {δ[n] } + X[k]
⎡1 ⎤ ⎡ 1 ⎤
⎢1 ⎥ ⎢ 2 ⎥
=2 ⎢ ⎥ + ⎢ ⎥
⎢1 ⎥ ⎢ 3 ⎥
⎢ ⎥ ⎢ ⎥
⎣1 ⎦ ⎣ 4 ⎦
⎡3 k = 0⎤
⎢4 ⎥
Y[k] = ⎢ ⎥
⎢5 ⎥
⎢ ⎥
⎣6 ⎦
8] Let y[n] = 2 + x[n]
By DFT,
y[n] = 2 u[n] + x[n]
Y[k] = 2 DFT {u[n] + X[k]
= 2 . 4δ[k] + X[k]
⎡1⎤ ⎡1⎤
⎢0⎥ ⎢2⎥
= 8 ⎢ ⎥+⎢ ⎥
⎢0⎥ ⎢3⎥
⎢ ⎥ ⎢ ⎥
⎣0⎦ ⎣4⎦
⎡8⎤ ⎡1⎤
⎢0⎥ ⎢2⎥
= ⎢ ⎥+⎢ ⎥
⎢0⎥ ⎢3⎥
⎢ ⎥ ⎢ ⎥
⎣0⎦ ⎣4⎦
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 15
⎡9 k = 0⎤
⎢2 ⎥
= ⎢ ⎥
⎢3 ⎥
⎢ ⎥
⎣4 ⎦
9] y[n] = x*[n]
Y[k] = X*[-k]
⎡1 k = 0⎤
⎢4 ⎥
Y[k] = ⎢ ⎥
⎢3 ⎥
⎢ ⎥
⎣2 ⎦
jn π
10] y[n] = e x[n]
By DFT, Frequency shift property,
y[n] = W N− mn x[n]
Y[k] = X[k – m]
To find m :
−mn
⎛ − j2π ⎞
e jnπ
= WN−mn = 1 − mn
(WN ) = ⎜e N ⎟
⎜ ⎟
⎝ ⎠
−mn
⎛ − j2π ⎞
= ⎜e N ⎟
⎜ ⎟
⎝ ⎠
π
j mn
jnπ
=e
2
e
By comparing we get m = 2
By substituting in Y[k] we get,
Y(k) = X [k - 2]
⎡3 k = 0⎤
⎢4 ⎥
Y(k) = ⎢ ⎥
⎢1 ⎥
⎢ ⎥
⎣2 ⎦
W N−2k Y [k ] = X [k − 2]
Y [k ] = W N2 K X [k − 2]
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 16
⎡ WN0 ⎤ ⎡ 3 ⎤
⎢ 2⎥⎢ ⎥
W ⎥ ⎢4⎥
=⎢ N
⎢ W4 ⎥ ⎢ 1 ⎥
⎢ N6 ⎥ ⎢ ⎥
⎢⎣ WN ⎥⎦ ⎣ 2 ⎦
⎡ 1⎤ ⎡3⎤
⎢ −1⎥ ⎢ 4 ⎥
=⎢ ⎥⎢ ⎥
⎢ 1⎥ ⎢ 1 ⎥
⎢ ⎥⎢ ⎥
⎣ −1⎦ ⎣ 2 ⎦
⎡ 3 k = 0⎤
⎢− 4 ⎥
Y[k] = ⎢ ⎥
⎢ 1 ⎥
⎢ ⎥
⎣− 2 ⎦
put n – 2 = m
n=m+2
Y[k ] = WN2 k X (k − 2)
⎡ 3 k = 0⎤
⎢− 4 ⎥
=⎢ ⎥
⎢ 1 ⎥
⎢ ⎥
⎣− 2 ⎦
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305 17
--------------------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
(68) Let x[n] = { 1, 2, 3, 4 } and x[n] ÅÆ X[k]. Find inverse DFT of the
following without using DFT/iDFT equations.
Solution :
1] Y[k] = X [k – 2]
⎡ 1 k =0
By i DFT , frequency shift property ⎢ −4
iDFT { X [-k + 2] } = ⎢
y[n] = WN−2n x(n) ⎢ 3
⎢
⎣ −2
⎡ 1⎤ ⎡1⎤
⎢ −1⎥ ⎢ 2 ⎥
=⎢ ⎥ ⎢ ⎥ 5] Let Y[k] = X[-k]
⎢ 1⎥ ⎢ 3 ⎥ put k = k + 2
⎢ ⎥⎢ ⎥
⎣ −1⎦ ⎣ 4 ⎦ Y[k + 2] = X[– k– 2]
⎡ 1 n = 0⎤
⎢− 2 ⎥ WN2n y(n) = iDFT {X[−k − 2]}
y[n] = ⎢ ⎥
⎢ 3 ⎥ iDFT {X[-k-2] = WN2 n y(n )
⎢ ⎥
⎣− 4 ⎦ = WN2 n x (− n )
2] Y[k] = X [ k + 2] ⎡ 1⎤ ⎡1⎤
y(n) = WN2n x(n) ⎢ −1⎥ ⎢ 4 ⎥
=⎢ ⎥ ⎢ ⎥
⎡ 1⎤ ⎡1⎤ ⎢ 1⎥ ⎢ 3 ⎥
⎢ −1⎥ ⎢ 2 ⎥ ⎢ ⎥⎢ ⎥
=⎢ ⎥ ⎢ ⎥ ⎣ −1⎦ ⎣ 2 ⎦
⎢ 1⎥ ⎢ 3 ⎥ ⎡ 1 n = 0⎤
⎢ ⎥⎢ ⎥ ⎢− 4 ⎥
⎣ −1⎦ ⎣ 4 ⎦
= ⎢ ⎥
⎡ 1 n = 0⎤ ⎢ 3 ⎥
⎢− 2 ⎥ ⎢ ⎥
y[n] = ⎢ ⎥ ⎣− 2 ⎦
⎢ 3 ⎥
⎢ ⎥ 6] Y[k] = X2[k]
⎣− 4 ⎦
Y[k] = X[k] X[k]
3] Y[k] = X[-k]
By iDFT Time Reversal Property, iDFT, Circular Convolution property
y(n) = x(-n) = { 1, 4, 3, 2 }
y(n) = x(n) * x(-n)
N −1
4] Let Y[k] = X[-k] = ∑ x(m) x[n − m]
put k = k – 2 m =0
Y[k – 2] = X[- k + 2]
ANS : y(n) = { 26, 28, 23, 20 }
By iDFT freq Shift property,
= WN−mk X[−k]
9] Y[k] = e jπk X [k ]
Y[k] W Nmk = X [−k ]
= WN−mk X[k] By iDFT,
By iDFT , Time shift property, y[n – m] = x[–n]
y[n] = x[n – m] put n – m = n
To find m : n= n+m
e jπk = WN−mk = (WN
1 −mk
) y[n] = x[–n – m]
−mk To find m :
⎛ − j 2π ⎞
= ⎜e N ⎟
3π
⎜
⎝
⎟
⎠
e
j
2
k
= WN− mk = WN1 ( ) − mk
−mk
π ⎛ − j 2π ⎞
= ⎜e N ⎟
j mk
e jπk = e2 ⎜ ⎟
⎝ ⎠
m=2
−mk
By substituting, ⎛ − j 2π ⎞
= ⎜e 4 ⎟
y[n] = x[n – 2] ⎜ ⎟
⎝ ⎠
y[n] = { 3, 4, 1, 2 } 3π π
j k j mk
e 2
= e 2
put p = k – 2 By substituting,
But e j 2 x = 1
12] Y[k] = X * [-k]
jπp
Y [p + 2] = e X [ p] y[n] = x * [n]
By iDFT = { 1, 2, 3, 4 } ANS
W N2 n y (n) = iDFT {e jπp X [ p]}
20
Anand Academy of Engineering, Tel 2642 5305
A[k ] = W N4k X [k ]
(F) Let f(n) = x(n – 2 )
A [k] = (–1)k X [k]
By DFT Time shift property,
(70) Consider the finite length sequence x[n] = δ[n] + 2 δ[n-5]. Find 10-point DFT of x[n]
Solution : x[n] = {1, 0, 0, 0, 0, 2, 0, 0, 0, 0}
N −1
By DFT, X [k ] = ∑ x[n] W N = 10
nk
N ,
n=0
9
∴ X[k ] = ∑ x[n ]WN nk
n =0
X[k] = x[0] WN0 + x[5]WN5k
X[k] = 1 + 2 W105k
X[k] = 1 + 2 (W105 )k
X[k] = 1 + 2 (– 1 )k
X[k] = { 3, –1, 3, –1, 3, –1, 3, –1, 3, –1 } ANS
--------------------------------------------------------------------------------------------------------------
(71) Let X[k] = { 1, –2, 1–j, 2j, 0, ….} is the 8 point DFT of a real valued sequence.
What is the 8 point DFT Y[k] such that y[n] = (–1)n x [n] ?
Solution :
By symmetry property of real sequence, X[k] = X*[-k]
X[k] = { 1, –2, 1–j, 2j, 0, -2j, 1+j, -2}
To find Y[k] : y[n] = (–1)n x[n]
= (WN4 ) n x[n]
y[n] = W 4 n x[n]
N
21
Anand Academy of Engineering, Tel 2642 5305
r =0 r =0
P[k] = X[k]
ANS : P[k] = { A, B, C, D, A, B, C, D }
(b) q[n] = {a, 0, 0, b, 0, 0, c, 0, 0, d, 0 , 0}
3 3 3
Q[k ] = ∑ q[3r ]WN 3rk + ∑ q[3r + 1]WN (3r +1) k + ∑ q[3r + 2]WN (3r + 2) k
r =0 r =0 r =0
3 3 3
Q[k ] = ∑ q[3r ]W N rk
+ W Nk ∑ q[3r + 1] W N rk +
2k
WN ∑ q[3r + 2] W N rk
r =0 3 r =0 3 r =0 3
2k
Q[k ] = DFT{ q[3r ] } + W Nk DFT { q[3r + 1]} + W N DFT{ q[3r + 2] }
2k
Q[k ] = DFT{ x[n] } + W Nk DFT { 0 } + W N DFT{ 0 }
Q[k] = X[k]
ANS : Q[k] = { A, B, C, D, A, B, C, D, A, B, C, D }
------------------------------------------------------------------------------------------------
⎛ 2πn k ⎞
(74) Compute the energy of N pt sequence x [n] = cos ⎜ ⎟, 0 ≤ n ≤ N − 1
⎝ N ⎠
j 2 π nk −j2 π n k − j 2 π nk j2 π n k ⎤
1⎡ ⎤
* 1⎡
Solution : Let x(n) = ⎢ e N +e N ⎥ and x [n] = ⎢ e N +e N ⎥
2⎢ ⎥ 2⎢ ⎥
⎣ ⎦ ⎣ ⎦
j 4 π nk −j4 π n k
* 1⎡ ⎤
x[n] x [n] = ⎢ 2 + e N +e N ⎥
4⎢ ⎥
⎣ ⎦
∞
E = ∑ x[n] x*[n]
n = −∞
N −1 j 4 π nk − j4 πn k
1
=∑ [2 + e N
+e N
]
n =0 4
22
------------------------------------------------------------------------------------------------------
--DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
N −1
1 ⎡ ⎛ 4 π nk ⎞⎤
= ∑ 4 ⎢2 + cos⎜ N
⎝
⎟⎥
⎠⎦
n=0 ⎣
N
E=
2
--------------------------------------------------------------------------------------------------------------
(75) A four point DT signal x(n) is given by x(n) = [1, 2, 0, 2]. A student found the DFT of this sequence
as X[k]= [ 5, (-1 + j2), -3, (-1 –j2) ] Guess whether this answer is correct or not, without
performing DFT. Justify your guess.
Solution : Here x[n] = x[–n]. Therefore by even signal property of DFT,
If x[n] = x[–n] then X[k] = X[–k]
That means if x[n] is Even Then X[k] is also Even.
But given X[k] is NOT Even { X[k] ≠ X[–k] }
So, Answer is NOT correct.
--------------------------------------------------------------------------------------------------------------
(76) Derive FFT flowgraph for N=2
(77) Derive FFT flowgraph for N= 3
--------------------------------------------------------------------------------------------------------------
⎛ 2πn ⎞ ⎛ 2πn ⎞
(78) Given x1 (n) = cos ⎜ ⎟ x 2 (n) = sin ⎜ ⎟
⎝ N ⎠ ⎝ N ⎠
Determine the N point Circular convolution of x1(n) & x2 (n)
⎛ j 2π n − j 2π n ⎞
1⎜ N ⎟
Let x1 (n) = +e N
⎟ u[n]
2 ⎜⎜
e
⎟
⎝ ⎠
N
By DFT, X 1 [k ] = [δ (k − 1) + δ (k + 1)]
2
j2π n −j2 π n ⎞
1 ⎛⎜ N
Similarly, x 2(n) = e − e N ⎟ u[n]
2j ⎜ ⎟
⎝ ⎠
N
By DFT, X 2 [k ] = [δ (k − 1) − δ (k + 1)]
2j
N2
X3[k] = X1[k] X2[k] = [ δ (k − 1) − δ (k + 1) ]
4j
N ⎛ 2πn ⎞
By inverse DFT, x 3 [n ] = sin ⎜ ⎟
2 ⎝ N ⎠
23
------------------------------------------------------------------------------------------------------
--DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
(80) Find DFT of the following signals and plot magnitude spectrum.
{
(a) x2 [n] = 1 2 3 4
↑
} x [ n] = { 1
3 2 3 4
↑
}
Solution :
∞
(a) By DTFT, X 2 ( w) = ∑ x 2 [ n] e − jnw
n = −∞
But X [k ] = X ( w) w= 2π k where N =4
N
X 2 [k ] = X 2( w) w= π k
2
⎡ ⎛ πk⎞ ⎤ ⎡ ⎛π k ⎞ ⎤
X 2 [k ] = ⎢ 2 + 4 cos ⎜ ⎟ + 4 cos (π k )⎥ − j ⎢ 2 sin ⎜ ⎟ + 4 sin (π k )⎥
⎣ ⎝ 2 ⎠ ⎦ ⎣ ⎝ 2 ⎠ ⎦
⎡ 10 k =0 ⎤
⎢ −2 − 2j ⎥
X 2 [k ] = ⎢ ⎥
⎢ 2 ⎥
⎢ ⎥
⎣ −2 + 2j ⎦
Magnitude Spectrum Æ
0 0.5π π 1.5π 2π
------------------------------------------------------------------------------------------------------------------------
24
------------------------------------------------------------------------------------------------------
--DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
∞
(b) By DTFT, X 3 ( w) = ∑ x 3 [ n] e − jnw
n = −∞
X 3 ( w ) = x 3 [ − 2 ] e j 2 w + x 3 [ − 1] e j w
+ x 3 [ 0 ] + x 3 [1] e − j w
X3 (w) = e j w +2 + 3 e− j w + 4 e− j 2w
X 3 ( w) = [ 2 + 4 cos ( w) + 4 cos (2 w)] − j [ 2 sin ( w) + 4 sin (2 w )]
But X [k ] = X ( w) w= 2π k where N =4
N
X 3 [k ] = X 3( w) w= π k
2
⎡ ⎛ πk⎞ ⎤ ⎡ ⎛π k ⎞ ⎤
X 3 [k ] = ⎢ 2 + 4 cos ⎜ ⎟ + 4 cos (π k )⎥ − j ⎢ 2 sin ⎜ ⎟ + 4 sin (π k )⎥
⎣ ⎝ 2 ⎠ ⎦ ⎣ ⎝ 2 ⎠ ⎦
⎡ 10 k =0 ⎤
⎢ −2 − 2j ⎥
X 1 [k ] = ⎢ ⎥
⎢ 2 ⎥
⎢ ⎥
⎣ −2 + 2j ⎦
Magnitude Spectrum Æ
0 0.5π π 1.5π 2π
25
------------------------------------------------------------------------------------------------------
--DSP Help Line : 99 870 30 881---
3 . ANALYSIS OF DISCRETE TIME SYSTEM
(84) W ha t i s t he c on ce p t of R O C ?
Ans : ROC gives the set of values of Z for which X(z) is finite. Every value of Z in the ROC gives X(z) finite.
(85) W ha t is the R O C co n diti o n f or causa l si gna l. ? W hy ? Jus tify wi th e xampl e.
Ans : ROC is |z| > | Largest value of POLE |
Ex x[n] = (2)n u[n] + (3)n u[n]
(86) Wha t is the R O C conditi o n f or Anti- causa l signal ? Why ? Ju stify with exa mple.
Ans : ROC is |z| < | Lowest value of POLE |
Ex x[n] = (2)n u[-n] + (3)n u[-n]
1) If x[n] is right handed sequence, the ROC extends outward from the
outermost finite pole in X ( z ) to z = ∞
Sequence ROC
2) If x[n] is Left handed sequence, the ROC extends inward from the
innermost finite pole in X(z) to z = 0
Sequence ROC
1 x[n] = { 1, 2, 3, 0 } |Z| < ∞
2 x[n] = an u[-n-1] |Z| < |a|
3 x[n] = an u[-n-1] + bn u[-n-1] |Z| < min { |a|, |b| }
4 x[n] = (-3)n u[-n-1] + (2)n u[-n-1] |Z| < 2
Anand Academy of Engineering, Tel 2642 5305
3) If x[n] is two sided sequence, the ROC consist of a ring in the Z plane,
bounded by interior and exterior pole.
Sequence ROC
1 x[n] = an u[n] + bn u[-n-1] |b| > |z| > |a|
2 x[n] = (2)n u[n] + (3)n u[-n-1] 3 > |z| > 2
CLASSIFICATION OF DT SYSTEMS :-
27
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
(5) Stable / Unstable system.
A system is said to be bounded input, bounded o/p stable if and only if every bounded input
produces a bounded output.
28
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
(101) What is phase response?
Ans : Phase Response = Angle of Numerator – Angle of denominator
⎡ −1 ⎛ Im aginary ⎞
⎢ tan ⎜ ⎟ When Re al > 0
Where angle = ⎢ ⎝ Re al ⎠
⎢ −1 ⎛ Im aginary ⎞
⎢180 + tan ⎜ ⎟ When Re al < 0
⎣ ⎝ Re al ⎠
29
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
z 2 + 0 ⋅ 25
(113) Given H (z) = Draw pole – zero diagram of the system and indicate whether the
z 2 − 0 ⋅ 4 z − 0 ⋅ 05
system is of minimum phase or maximum phase type
z 2 + 0 ⋅ 25 z 2 + 0 ⋅ 25
Solution : H (z) = =
z 2 − 0 ⋅ 4z − 0 ⋅ 05 (z − 0 ⋅ 5) (z + 0 ⋅ 1)
Zeros:
z 2 + 0 ⋅ 25 = 0
z 2 = −0 ⋅ 25
z 2 = (−1) (0 ⋅ 5) 2
O z0
z 2 = e jπ (0 ⋅ 5) 2 e j2 πk
z 2 = (0 ⋅ 5) 2 e jπ( 2 k +1) p2 p1
⎛ 2 k +1 ⎞ O z1
jπ ⎜ ⎟
2 ⎠
Zk = 0 ⋅ 5 e ⎝
jπ / 2
k = 0, z0 = 0⋅5 e
j 3π / 2
k = 1, z1 = 0⋅5 e
30
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
(114) If the step response of the system is given by s[n] = (½)n u[n], find an impulse
response of the system without using ZT and iZT technique.
Solution:
u [n] LT I s[n]
(115) Find the difference equation of the system, which generates the following output.
y[n] = { 1, 1, 2, 3, 5, 8, 13 - - - - - } for n ≥ 0
Solution:
Let y[n] = δ [n] + δ [n–1] + 2 δ [n–2] + 3 δ [n–3] + 5 δ [n-4] + 8 δ [n-5] + ----------(1)
y[n–1] = δ [n-1] + δ [n–2] + 2 δ [n–3] + 3 δ [n–4] + 5 δ [n-5] + +--------(2)
By equation (1) – (2),
y[n] – y[n-1] = δ [n] + δ [n–2] + δ [n–3] + 2 δ [n-4] + 3 δ [n-5] + ---------------(3)
from eq. (1)
y[n–2] = δ [n-2] + δ [n–3] + 2 δ [n–4] + 3 δ [n–5] + 5 δ [n-6] + +-----------------(4)
By equation (3) – (4),
y[n] – y[n-1] – y[n–2] = δ [n]
Let δ [n] = x[n].
y[n] – y[n-1] – y[n–2] = x[n]
y[n] = y[n-1] + y[n–2] + x[n]
-------------------------------------------------------------------------------------------------------------------
31
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
4. DIGITAL FILTERS
FAQ What & Why V
2. Digital filters are easily designed, tested and implemented on a general-purpose computer or
workstation.
3. The characteristics of analog filter circuits (particularly those containing active components)
are subject to drift and are dependent on temperature. Digital filters do not suffer from these
problems, and so are extremely stable with respect both to time and temperature.
Ans : Compared to IIR filters, FIR filters sometimes have the disadvantage that they require more memory
and/or calculation to achieve a given filter response characteristic.
(121) What are the advantages of IIR filters (compared to FIR filters)?
Ans : IIR filters can achieve a given filtering characteristic using less memory and calculations than a
similar FIR filter.
32
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
(122) What are the disadvantages of IIR filters (compared to FIR filters)?
Ans : 1) They are more susceptible to problems of finite-length arithmetic, such as noise generated by
calculations, and limit cycles. (This is a direct consequence of feedback: when the output isn't
computed perfectly and is fed back, the imperfection can compound.)
3) They don't offer the computational advantages of FIR filters for multirate (decimation and
interpolation) applications.
(124) What is the relation between Analog filter pole and digital filter pole when impulse invariant
technique is used for filter design.
Ans : Z = e ST
(125) What is the relationship between Analog filter frequency and digital filter frequency when
impulse invariant technique is used for filter design.
Ans : W = ΩT
(126) Why Impulse Invariant method is not suitable for HPF / BPF design?
Ans : The the mapping from the analog frequency Ω to the freq. variable w in the digital domain is
many to one. which reflects the effect of aliasing due to sampling. A one to one mapping is thus
π π
possible only if freq. Ω lies in the principle range of − ≤ Ω ≤ .
T T
π
That means if cut off frequency of analog filter Ω c is greater than . then one to one mapping
T
from analog filter frequency to digital filter frequency is not possible. Therefore the filter such
π
as HPF or BPF with cut off frequency of analog filter Ω c greater than . can not be
T
designed using impulse invariant method.
(128) What is the relation between Analog filter pole and digital filter pole when BLT method is used for
filter design.
33
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
2 ( z − 1)
Ans : S =
T ( z + 1)
(129) What is the relationship between Analog filter frequency and digital filter frequency when BLT
method is used for filter design.
2 ⎛ w⎞
Ans : Ω= tan⎜ ⎟
T ⎝2⎠
(130) Explain frequency warping in BLT.
Ans : [ Refer theory notes ]
(131) Frequency warping is needed to perform in BLT technique but not in impulse invariance
technique
(132) In BLT there is no a lia sing
Ans : Bilinear Transformation is a mapping of points from s-plane to corresponding points in the z-
plane. The BLT transforms, the entire j Ω axis in the s-plane into one revolution of the unit circle
in the z-plane ie. only once and therefore avoids the aliasing of frequency components.
(133) Explain the Mapping of points from s-plane to z–plane when Impulse Invariant Method is used
for filter design.
Case-I When σ = 0, r =1
Analog poles which lies on imaginary axis gets mapped onto the unit circle in the z-plane.
Ans : A notch filter is a filter that contain one or more deep notches or ideally perfect nulls in its frequency
response characteristic.
They are useful in application where specific frequency components must be eliminated. For
example instrumentation and recording systems required that the power line frequency of 60 Hz
and its harmonics to be eliminated.
Ans : A comb filter can be viewed as a notch filter in which the null occur periodically across the
frequency band.
. Comb filters find applications in a wide range of practical systems such as in the rejection of power
line harmonics, is the separation of solar and lunar components from ionosphere measurements of
electron concentration and is the suppression of cluster from fixed objects in moving target
indicates (MTI) radars.
34
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
N = 2 1
H (s) = H (s) =
N = 3 1
H (s) = H (s) =
(1) For Linear Phase filter h[n] must be either Symmetric or Antisymmetric.
(3) When zeros of the filter are INSIDE the unit circle filter is called Minimum Phase Filter.
Concept : For Minimum Phase filter φ(π) - φ(0) = 0
(4) When all zeros of the filter are OUTSIDE the unit circle filter is called maximum phase
filter.
Concept : For Maximum Phase filter φ(π) - φ(0) = ± m π
35
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
(5) When all zeros of the filter are INSIDE and OUTSIDE the unit circle filter is called mixed
phase filter.
(6) When all zeros of the FIR filter are LEFT side of Z-plane, filter is LOW PASS FIR
FILTER.
(7) When all zeros of the FIR filter are RIGHT side of Z-plane, filter is HIGH PASS FIR
FILTER.
(8) When poles and Zeros of the filter are in reciprocal order, filter is ALL PASS FILTER.
Z−2
Eg. H (z) = POLE P1 = 0.5 ZERO Z1 =2
Z − 0.5
(1) For Linear Phase FIR filter h[n] must be either Symmetric OR Antisymmetric.
(2) When h[n] is either Symmetric OR Antisymmetric, ZEROS of the filter are always in
Reciprocal order.
1
i.e. If Z1 is ZERO of the filter, Then is also a ZERO of the filter.
z1
(3) If ZEROS of the filter are in reciprocal order, then filter is Linear Phase FIR filter.
36
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
The linear Phase characteristic is important when the phase distortion is not tolerable.
FIR Filter can be designed with linear phase characteristic. In application like data transmission,
speech processing etc phase distortion can not be tolerated and here linear phase characteristic of
FIR filter is useful
(139) Show that if the Phase Response is Linear the output of the Filter during pass-band is delayed
input.
Consider a LPF with frequency response H(ejw) given by
⎧ e − jwα | w | ≤ wc
H (e jw ) = ⎨
⎩ 0 wc < w ≤ π
x[n] y[n]
H(z)
X (w) Y (w)
(141) What is the role of window in the design of FIR filter ? Name the few types of windows.
Ans : FIR filter is designed by truncating infinite samples of hd[n] by using window function.
Examples of window function include, Hamming window, Bartlet Window, Hanning window,
Blackman window etc
(142) Why rectangular window is not preferred for FIR filter design ?
Ans : Rectangular window function has As = 21 db which is very small compared to other window
function. Larger value of As desired.
(143) Is the following filter a linear phase filter. If yes, what is the type of filter ? It’s transfer function is
given by H(z) = 1 – z –4 .
Ans : By IZT h[n] = { 1, 0, 0, 0, –1 } Since h[n] is anti-symmetric, filter is a linear phase FIR filter.
Antisymmetric h[n] with N odd is suitable only for Band Pass Filter.
(i) At w = 0, z = 1 : H(w) = 0
(ii) At w = π, z = – 1: H(w) = 0
(iii) At w = π/2, z = j: H(w) = 2
37
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
(144) What is the advantage of frequency sampling realization ?
Ans : The frequency sampling realization of this filter is computationally more efficient than the direct
form realization.
Justification : When the desired frequency response characterization of the FIR filter is
narrowband, most of the coefficients H[k] are zero. The corresponding filter sections can be
eliminated and only the filters with non zero coefficients need to be retained.
The net result is a filter that requires fewer computations (multiplications and additions) than the
corresponding direct form realization. Thus frequency Sampling realization is more efficient
realizations.
(145) Why an tisymmetric h[n] is no t su itab le for LPF filter d esign ?
(146) Why symme tric h[n ]with N ev en and an ti-symm h [n ] with N odd is no t su itab le for
HPF d esign ?
(153) Can we use Overlap Add Method and Overlap Save Method to find output of IIR filter for long data
sequence.
Ans : No
:
38
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
FALSE.
For linear phase filter h[n] must be either symmetric or Antisymmetric. For symm h[n] phase
⎛ N −1⎞ π ⎛ N −1⎞
φ = −⎜ ⎟ w and for antisymm h[n] phase φ = − ⎜ ⎟ w where N is length of h[n]. ie
⎝ 2 ⎠ 2 ⎝ 2 ⎠
⎛ N −1⎞
Finite value. Group delay ⎜ ⎟ is finite value. Therefore linear phase filters are always FIR
⎝ 2 ⎠
Filters
(C) If a linear phase filter having Anti symmetric even number of coefficients, then the filter acts like a
band pass filter only.
FALSE
Anti-symm h[n] with N even has definite zero at z = 1. i.e. w = 0 H ( z) z =1 = 0
w =0
That means low frequency components will get attenuated and zero frequency components will not get
passed. However, the filter can pass high frequency components, therefore it can be used for HPF design
also.
(D) A stable, causal FIR filter has its poles lying anywhere inside the unit circle in the x plane :
FALSE
----------------------------------------------------------------------------------------------------------------------------------
(157) Find the response of the second order antisymmetric, linear phase filter to the input
π
x[n] = ( ½ )n cos ( n 3 ) u[n].
( z + 1)( z − 1) z2 −1
So H ( z ) = = = 1 − z −2
2 2
z z
By IZT, h[n] = { 1 0 − 1 }
↑
To find y[n]:
Let Y(z) = H(z) X(z)
= (1– z–2) X(z)
= X(z) – z–2 X(z)
By IZT, y[n] = x[n] – x[n–2]
π π
y[n] = ( ½ )n cos ( n 3 ) u[n] – ( ½ )n-1 cos { (n–1) 3 ) } u[n] ANS
----------------------------------------------------------------------------------------------------------------------------------
40
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---
Anand Academy of Engineering, Tel 2642 5305
(158) Find the response of the second order antisymmetric, linear phase filter to the input
π
x[n] = ( ½ )n cos ( n π + 3 ) .
( z + 1)( z − 1) z2 −1
So H ( z ) = = = 1 − z −2
2 2
z z
By IZT, h[n] = { 1 0 − 1 }
↑
Here input is applied at n = – ∞, Therefore There is no transient response.
Output is only SSR.
To find SSR
At w = π , H(w) = 0
The SSR of the system is then given by y[n] = 0
----------------------------------------------------------------------------------------------------------------------------------
41
-----------------------------------------------------------------------------------------------------
---DSP Help Line : 99 870 30 881---