Solution: Homework#1
Solution: Homework#1
Faculty of Engineering
Electrical Engineering Department
Spring-2011
_________________________________________________________________________________
Homework#1
Solution
External Problem
Solution :
1
(a) cos(2 f o t ) (f f o ) (f f o )
2
5cos(2 2000 t ) 3cos(2 3000 t )
2.5 (f 2000) (f 2000) 1.5 (f 3000) (f 3000)
t
(e) y (t ) x (tFs ) x ( ) 5cos(0.5 (8000t )) 3cos(0.75 (8000t ))
Ts
5cos(2 2000 t ) 3cos(2 3000 t )
3 3
(f) SQNR= 2 2b 2(16) 98304
2 2
10 log 98304 50 dB
(d)
since: Fs < 2Fmax =10 kHz
hence, we can't recover the original spectrum
(e)
t
y (t ) x (tFs ) x ( ) 5cos(0.5 (8000t )) 3cos(0.75 (8000t ))
Ts
5cos(2 2000 t ) 3cos(2 3000 t )
Textbook
1.3 Determine which of the following sinusoids are periodic and compute their
fundamental period:
(a) x(t)=3cos(5t+π/6)
-1
-2
-3
0 0.5 1 1.5 2 2.5 3
1
cos(x ) cos( y ) cos(x y ) cos(x y )
2
n n 1 n n n n 1 3 n n
x (n ) cos( ) cos( ) cos( ) cos( ) cos( ) cos( )
3 6 2 3 6 3 6 2 6 6
3 n 3 3 1
cos( ) w 2 f f = ( rational, N1 =4)
6 6 12 4
n 1
cos( ) w 2 f f ( rational, N 2 =12)
6 6 12
x(n) periodic with period=LCM(N1 , N 2 ) LCM(4,12) 12
(e) x(n)=cos(πn/2)-sin(πn/8)+3cos(πn/4+π/3)
n 1
cos( ) w 2 f f = ( rational, N1 =4)
2 2 4
n 1
sin( ) w 2 f f ( rational, N 2 =16)
8 8 16
n 1
cos( ) w 2 f f ( rational, N 2 =8)
4 3 4 8
x(n) periodic with period=LCM(N1 , N 2 ) LCM(4,16,8) 16
1.5 Consider the following analog sinusoidal signal signal:
xa(t)=3sin(100 π t)
1 1
100 2 F F 50 Hz T ( peiod ) 20ms
F 50
3
-1
-2
-3
0 0.005 0.01 0.015 0.02 0.025 0.03
(c) Compute the sample values in one period of x(n) , And sketch x(n) with x(t)
n
x (n ) 3sin( )
3
3 3 3 3
x (0) 0 , x(1)= , x(2)= , x (3) 0
2 2
3 3 3 3
x (4) , x(5)= , x (6) 0
2 2
fo=500
1
-1
0 10 20 30 40 50 60 70 80 90 100
fo=2000
1
-1
0 10 20 30 40 50 60 70 80 90 100
fo=3000
1
-1
0 10 20 30 40 50 60 70 80 90 100
fo=4500
1
-1
0 10 20 30 40 50 60 70 80 90 100
Fo=2kHz , Fs=50kHz , f=0.04 Hz
(b) f=F/Fs=2/50 = 0.04 Hz 1
N=25=1/f
0.5
-0.5
-1
0 20 40 60 80 100
(c)
1
Down sampling 0.8
0.6
f=F/Fs=2/25= 0.08 Hz
0.4
N=12.5=1/f 0.2
-0.2
-0.4
-0.6
-0.8
-1
0 5 10 15 20 25 30 35 40 45 50