Good Question DSP
Good Question DSP
Good Question DSP
Unit I
1. What is a Signal?
A function of one or more independent variables which contain some
information called signal.
2. What is a system?
A system is a set of elements or functional block that are connected together and
produces an output in response to an input signal.
3. Define Piecewise continuous signals?
Piecewise continuous signals possess different expressions over different
intervals.
4. Define continuous signals?
Continuous signals are expressed by a signal expression for all time.
5. Define Periodic Signals?
Periodic signals are infinite duration signals that repeat the same pattern
endlessly. The smallest repetition interval is called the period T and leads to a formal
definition.
x p (t ) = x p (t nT )
6. Define energy signal and power signal?
Signal with finite energy is called an energy signal (or) square integrable.
Signal with finite power are called power signals.
7. Define ever symmetric and odd symmetric and give its expression in continuous
time signals
symmetric.
x e (t ) = x e ( t )
If a signal and its folded version differs only in sign with x(t) = -x(-t), it is called
odd symmetric.
x o (t ) = x o ( t )
( x)dc =1
0, t 0
, t = 0
(t ) =
1. Scaling Property
(t ) =
1
11
(t )
2. Product property
x (t )(t ) = x () ( t )
3. Sifting property
x( t ) (t )dt = x()
' (t ) =
1 '
(t )
Product property:
x(t ) (t ) dt
'
= x ' (0 )
Homogenity:
Additinity:
Terms containing product of the i/p and/or o/p make a system equation
nonlinear. A constant term also makes a system equation.
It is noncausal, if the o/p terms have the form y(t) and any i/p term
contains x(t+), >o.
[x(t) x(t-)]
Shift right by
Then compress by =
[x(t ) x(t - )]
Method 2:
Compress by
[x(t) x(t)]
x (t ) x t = x (t)
18. What is the resultant symmetry of the sum or product of two symmetric signals
1. xe (t) + ye(t)
Even symmetry
2. xo (t) + yo(t)
Odd symmetry
3. xe (t) + yo(t)
No symmetry
4. xe (t) ye(t)
Even symmetry
5. xo (t) yo(t)
Even symmetry
6. xe (t) yo(t)
Odd symmetry
t
u ( t ) = ( t )dt
du ( t )
,
dt
20. Find the energy of the signal x(t) = 2e-t 6e -2t, t>0
Solution:
Ex
( t ) dt
(4e
2 t
2 8+9
3J
UNIT I
0, t 0
() =
-() d =1
, t = 0
(t) =
ii)
1
(t)
| |
Product property
x(t)(t ) = x()(t )
iii)
Sifting property
(t) =
0, t 0
Undefined, t = 0
(t)dt = 0
-
Properties of doublet:
i)
Scaling property:
(t) =
ii)
1
(t)
| |
Product Property
x(t)(t) = x(0) (t) - x(0) (t)
iii)
Sifting Property
-x(t)(t) dt = -x(0)
2) Let y(t) + 3y(t) +2y(t) = x(t) with x(t) =4e-3t and initial conditions y(0) = 3
and y(0) = 4. Find its zero-input response and zero-state response.
Solution:
Characteristic equation: s2+3s+2 = 0
Roots are: s1 = -1, s2 = -2
ZIR:
-2t
K2= -4 and K1 = 2
5) Consider the first-order system y(t) + 2y(t) = x(t). Find its response if x(t) =
cos(2t), y(0) = 2
Solution:
Characteristic equation: s + 2 = 0
Root: s = -2
Natural response: yN(t) = Ke-2t
Forced response:
X(t) = cos(2t), So yF(t) = Acos(2t) + Bsin(2t)
A = 0.25,
B = 0.25
Unit II
[n ]
n =
3(0.5)
n2
9(0.25) =
n =0
n =0
9
12J
1 0.25
odd part
Keep every Nth sample (at n = KN), this leads to potential loss of information.
Interpolation:
Insert (N-1) new values after each sample. This new sample values may equal
zero (zero interpolation), or the previous value (step) or linearly interpolated values.
6. Let x[n] = { x, 4, 5, 6}. Find y[n] = x[24/3] assceming step interpolation where
needed.
Interpolation:
[ 3 ] = {3,3,3,4,4,4,5,5,5,6,6,6}
xn
x[2n ] = {3,3,4,5,5,6}
3
Decimation:
x[n ] x n =
N
Nn M
x
N
1
x n
2
2n 1
x
2
xn
[ 2]
n 1
x
2
{2, 3, 4, 5, 6, 7, 8, 4} [shifting]
2n 1
x
{3, 5, 7, 4} [decimate by 2]
F =
The period N =
0.32 =
32
8 K
=
=
100 25 N
25
100 Hz
Sampling rate
240 Hz
The digital
100 5
=
240 12
Thus 5 periods of x(t) yeilds 12 samples (one period) of the sampled signal.
1. Energy: E =
x[n ]
n =
1 N 1
2. Power: P = x[n ]
N n =0
Unit III
at the fundamental
x p (t ) = Co + a k Cos (2kf 0t + k )
k =1
[k ]e
j 2 kfot
k =
1
x ( t )dt
T T
ak =
2
T
bk =
2
s( t )Sin (2kfot ) dt
T T
x(t )Cos(2kfot)dt
T
1
T
X[k] =
1
s( t )e j2 kfot dt
T
T
x (t ) dt
T
5. Give the difference between the F-form and -form of the fourier Transform:
If it contains Impulses:
x(f)
(t)
( t )
e j2 ft dt
r (t)
1, t = 0
0, t 0
x(f)
1
+ j2f
e-t u (t)
x(t)
e-t u (t)
x(f)
Decaying exponential
e-t u(t)
e t e 2 ft dt =
1
+ j2f
1
+ j2f
12. Give the steps to find the steady state response of an LTI system to a sinusoidal
input
i. Input
Evaluate H() at o as k
13. Give the steps to find the zero state Response of LTI systems:
i. Input
Evaluate
Device the passes a certain range of frequencies and blocks the rest.
2. Pass band:
tp =
()
. The delay at a single frequency
2. Group delay:
tg =
d()
. The delay for a group of frequencies in a
d
signal
17. Define: Half power frequency:
The frequency f =
1
is called the half power frequency because the output
2c
1
defines the half-power bandwidth over which
2c
1
2
x n ( t ) S n (s)
Unit-1V
X p (F) = X[K ]e j2 kF ,
X[n ] = 1 2X p (F)e j2 nF dF
2
k =
2. - Form:
X p ( ) =
X[K ]e
j 2 k
X[n ] =
k =
1
X p ()e j2 n d
related by = 2F.
1 N 1
(f k Fo ) [ N impulses per period 0 F <1]
N K =0
x p ()
j dx p (F)
(or) j
2 dF
d
7. Let Xp(F) (0.5)n u[n]= x[n]. Find the time signal corresponding to Yp (F)= XP(F)
XP(F)
By convolution property:
Yp(F)
XP (F) Xp (F)
y[n]
x[n].x[n]
y [n]=(0.25)n u[n]
8. Define Frequency Response
Plots of the magnitude and phase of the transfer function against frequency are
referred to collectively as the frequency Response. Frequency Response is a very useful
way of describing and identifying digital fitters.
9. Give the steps to find steady-state response to a Discreet-Time Harmonics.
1. Input:
+2 Cos (2F)
Given:
2.
1
)
3
1
H
3
H(0.125)
- 2
3
0
+ 2 Cos (2 ) = 0
3
-=0
+ 2 Cos (2 (0.125) = 1
= =
0.414
h[n]
h[n]
1.2426
H(0)
-Z
dx (z)
dz
x(z)
x[k ]z
k =
x(z)
14. Write the steps to solve the difference equations using the Z-transform
1. Relaxed system:
Transform the difference equation, then find Y(z) and its inverse.
2. Not relanced:
Transform using the shift property and initial condition. Find Y(z) and its
inverse.
15. How can we analyze system using the transfer function is Z-transform?
Zero-stare Response: Evaluate Y(z)=X(z) H(z) and take inverse
transform.
Zero- input Response: Find difference equation. Transform this using
the shift property and initial conditions. Find the response in the Zdomain and take inverse transform.
16. Write the steps to find the steady state response in z-transform.
1. Input
2. Transfer function
Evaluate H(z) at Z = e j2 F0 as Ho
x[n]
x(z)
u[n]
k =0
(Z
1 K
) =
K =0
1
1 z 1
z
z 1
19. Define:
( )
Scaling property
n x[n ] X z
Convolution property
Folding property
x[-n] x ( 1 )
z
d z
dz z 1
z
1
-z
+
2
(z 1)
(z 1)
z
(z 1)2
UNIT V
k = 0, 1, 2,., N 1
N-1
n = 0, 1, 1,., N 1
2) Give the steps to generate one period of a circularly shifted periodic signal.
a. To generate x[ n no ]: Move the last no samples of x[n] to beginning.
b. To generate x[ n + no ]: Move the first no samples of x[n] to end.
3) Let y [n] = {0, 1, 2, 3, 4, 5, 6, 7}, n = 0, 1, , 7. Find one period of the
circularly shifted signals f[n] = y[n 2]
Solution:
To create f[n] = y[n 2], move the last two samples to the beginning.
So,
y[n 2] = {6, 7, 0, 1, 2, 3, 4, 5}
4) Let x[n] = {2, 3, 2, 1} and XDFT(k) = {8, -2j, 0, 2j}. Find the DFT of the 12point signal described by y[n] = {x[n], x[n], x[n]}.
Solution:
Signal replication by 3 leads to spectrum zero interpolation and
multiplication by 3. Then,
YDFT(k) = 3XDFT[k/3] = { 24, 0, 0, -6j, 0, 0, 0, 0, 0, j6, 0, 0}.
5) Define Decimation in DFT.
If we choose the number N of samples as N = 2m, we can reduce the
computation of an N-point DFT to the computation of 1-point DFTs in
m-stages and the 1-point DFT is just the sample value itself. This
process is called decimation.
6) Define Decimation-in-Frequency algorithm.
The DIF FFT algorithm starts by reducing the single N-point transform
at each successive stage to two N/2-point transforms, then N/4-point
transforms and so on, until we arrive N 1-point transform that
corresponds to the actual DFT.
7) How unequal lengths affect the DFT result?
1) If M=N, the IDFT is periodic with period M, and its one period
equals the N-sample x[n]. Both the DFT matrix and IDFT matrix are
UNIT II
1) Let x[n] = {2, 3, 4, 5, 6, 7}. Find and sketch the following.
a) y[n] = x[n-3]
b) f[n] = x[n+2]
c) g[n] = x[ - n]
d) h[n] = x[-n+1]
e) s[n] = x[-n-2]
Solution:
x[n]
7
2
n
-2
2
n
6
b) f[n] = x[n+2] = {2, 3, 4, 5, 6, 7}
x[n+2]
7
2
n
-4
c) g[n] = x[ - n] = {7, 6, 5, 4, 3, 2}
x[-n]
7
2
n
-4
2
n
-2
2
n
-5
2) Consider the recursive digital filter whose realization is shown. What is the
response of this system if x[n] = 6u[n] and y[-1] = -1, y[-2] = 4.
X[n]
+
y[n]
Z-1
+
+
Z-1
Solution:
The differential equation is y[n] y[n-1] 2y[n-2] = 2x[n] x[n-1]
Characteristic equation: z2 z 2 = 0
Roots are : z1 = -1 and z2 = 2
Natural Response:
yN[n] = K(0.6)n
Since x[n] = (0.4)n, the forced response is yF[n] =C(0.4)n
C = -2
yF[n] = -2(0.4)n
Total response:
y[n] = K(0.6)n - 2(0.4)n
With y[-1] = 10, K = 9
Thus,
y[n] = 9(0.6)n - 2(0.4)n
5) Find the impulse response of y[n] 1/6 y[n-1] 1/6 y[n-2] = 2x[n] 6x[n
1].
Solution:
Characteristic equation: z2 1/6z 1/6 = 0
UNIT III
1) Give the properties of Fourier transform.
x(t)
(t)
X(f)
f)
Similarity
x(t)
X(-f)
Scaling
x(t)
1/(||) X(f/)
Folding
x(-t)
X(-f)
Time Shift
x(t-)
e-j2fX(f)
Frequency Shift
ej2tx(t)
X(f-)
Convolution
x(t)h(t)
X(f)H(f)
x(t)h(t)
X(f)H(f)
Modulation
x(t)cos(2t)
0.5[X(f+) + X(f-)]
Derivative
x(t)
j2fX(f)
- j2tx(t)
X(f)
x(t)y(t)
X(f)Y*(f)
Property
Multiplication
Times-t
Correlation
Property
x(t)
X(s)
x1(t) + x2(t)
X1(s) + X2(s)
Times-exp
e-tx(t)
X(s + )
Times-cos
Cos(t)x(t)
Times-sin
sin(t)x(t)
Time Scaling
x(t), > 0
(1/)X(s/)
e-sX(s)
tx(t)
- [dX(s)/ds]
tnx(t)
(-1)n [dnX(s)/dsn]
x(t)
sX(s) x(0 - )
x(t)
x(n)(t)
x(t)h(t)
X(s)H(s)
Superposition
Time Shift
Times-t
Derivative
Convolution
3. Bandpass filter
Impulse response is hBP (t) = 4fc sinc(2fct) cos(2fot)
Transfer function HBP (f) = rect(f + fo/2fc) + rect(f - fo/2fc)
4. Bandstop filter
Impulse response is hBP (t) = (t) - 4fc sinc(2fct) cos(2fot)
Transfer function HBP (f) = 1 - rect (f + fo/2fc) + rect (f - fo/2fc)
4. Let y(t) + 3y(t) + 2y(t) = 4e-2t , with y(0) = 3 and y(0) = 4. Find the total
response y(t) ?
Solution:
Transformation to the s-domain using the derivative property yields
K2 = -4,
K3 = -11
ZSR:
Transform x (t) to X(s) = 4/(s + 2) and Yzs(s) = H(s) X(s)
Yzs(s) = 4/ [(s + 2) (s2 + 3s + 2)] = [K1 / (s + 2)] + [K2/ (s + 2)2] + [K3 / (s + 2)]
K2 = -4,
K3 = -4
ZIR:
(s2 + 3s + 2) Y(s) = X(s), from this obtain the system differential
equation
y(t) + 3y(t) + 2y(t) = x(t)
Assuming zero input and non-zero initial conditions, this transforms to
s2 Yzi(s) s y(0) - y(0) + 3 [s Yzi(s) y(0)] + 2Yzi(s) = 0
With the given initial conditions
Yzi(s) = (3s + 13)/ (s2 + 3s + 2) = K1/ (s + 1) + K2/ (s + 2)
By partial fraction
K1 = 10,
K2 = -7
UNIT IV
4) Give the properties of DTFT.
Property
DT Signal
Result (F-Form)
Result (-Form)
x[-n]
Xp( -) = Xp*( )
x[n-m]
e-j2mFXp(F)
e-j mXp()
Frequency shift
ej2nFox[n]
Xp(F Fo)
Xp( o)
Half-period shift
(-1)nx[n]
Xp(F 0.5)
Xp( 0.5)
Modulation
Cos(2nFo)x[n]
0.5[Xp( + o) + Xp( o)
Convolution
x[n]y[n]
Xp(F)Yp(F)
Xp( ) Yp()
Product
x[n]y[n]
Xp(F) Yp(F)
Xp() Yp(F)
Times-n
nx[n]
(j/2)[dXp(F)/dF]
j[dXp()/d ]
Folding
Time shift
5) Let one period of xp[n] be given by x1[n] = {3, 2, 1, 2}, with N = 4. Find its
DTFT.
Solution:
Xp( F)
2
0.5
2
0.5
0.5
-0.5
Property
Signal
z-Transform
Shifting
x[n-N]
z NX(z)
Reflection
x[ -n ]
X(1/z)
Anti-causal
x[ -n ]u[ -n 1]
X(1/z) x[0]
Scaling
nx[n]
X(z/)
Times-n
nx[n]
- zdX(z)/dz
Times-cos
cos(n)x[n]
0.5[X(zej) + X(ze-j)]
Times-sin
sin(n)x[n]
j0.5[X(zej) - X(ze-j)]
Convolution
x[n]h[n]
X(z)H(z)
B=3
- 26.6o = 0.8944
- 26.6o
Successively compute:
3
K = 0;
XDFT[0] = x[n]e0 = 1+2+1+0 = 4
n=0
3
K = 1;
K = 2;
XDFT[2] = x[n]e-jn = 0
n=0
K = 3;
XDFT[3] = x[n]e-j3n/2 = j2
n=0
Solution:
x(0)=0
28
x(4)=4
W80
x(2)=2
-4+9.656j
-1
-4+4j
W80
x(6)=6
W80
x(1)=1
-1
-4+1.656j
W82
-1
-1
-4
W80
-1
W81
-1
-1
W82
-1
-1
W83
-1
x(5)=5
W80
x(3)=3
-1
W80
x(7)=7
W80
W82
-1
W80 = 1,
0.707j
W82 = -j,
-4-1.656j
-4-4j
-4-9.656j
W83 = -0.707 -
3) Given x[n] = n+1, N=8. Find X(k) using DIF FFT algorithm.
Solution:
x(0)=1
X(0)=36
x(1)=2
X(4)= - 4
-1 W8
x(2)=3
X(2)= - 4+4j
-1 W80
x(3)=4
X(6)= - 4 - 4j
-1 W82
x(4)=5
x(5)=6
x(6)=7
x(7)=8
-1
W8
X(1)= - 4 +9.656j
-1
W80
-1
W8
-1
W82
-1
W80 = 1,
0.707j
W83
W81 = 0.707 - 0.707j,
X(5)= - 4 - 1.656j
-1
-1
W80
-1
W82
W82 = -j,
W8
X(3)= - 4 + 1.656j
X(1)= - 4 - 9.656j
-1
W80
W83 = -0.707 -
-1
X(2)
x
(0)=1
x
(4)=4
W80
x
-1 W80
X(3)
-1 W8
X(4)
X(5)
X(6)
X(7)
W80 = 1,
0.707j
-1
W80
-1
W8-1
-1
W8
-2
-1
W8-3
W8-1 = 0.707 + 0.707j,
-2
-1
W80
-1
W8-2
W8-2 = j,
(2)=3
x
(6)=2
-1
W80
-1
W80
-1
W80
x
(1)=2
x
(5)=3
x
(3)=4
x
(7)=1
W8-3 = -0.707+
x[n] = {1, 2, 3, 4, 4, 3, 2, 1}
5) Find the IDFT of X(k) = {4, (1-2.414j), 0, (1-0.414j), 0, (1+0.414j), 0,
(1+0.414j)} using DIT FFT algorithm.
Solution:
X(0)
X(4)
W80
X(2)
-1
X(6)
X(1)
-1
W80
W80
-1
W8
-2
-1
W80
X(5)
X(3)
W80
-1
W80
X(7)
W80
W80 = 1,
0.707j
-1
W8
-2
-1
-1
-1
W8
-1
-1
W8
-2
-1
W8
-3
W8-2 = j,
x(0)=1
x(1)=1
x(2)=1
x(3)=1
x(4)=0
x(5)=0
x(6)=0
x(7)=0
-1
W8-3 = -0.707+
x[n] = {1, 1, 1, 1, 0, 0, 0, 0}