









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










2/9/2018 ECE-2026 Spring- 2018 2
Quiz #1 Score adjustment: before 23 - Feb (Friday) Contact individual grading professor for each problem #1: Dr. Fekri ([email protected]. edu) #2: Dr. Yang ([email protected]) #3: Dr. Marenco ([email protected])
HW #5 next week, ITS # 3 due on 22 - Feb
Lab #5 next week: sampling and aliasing
Quiz #2 on 5-Mar (Monday) Chapters 3-4: Appendix C, HW 04-06, Labs 03-06, ITS 3- 4
2/9/2018 ECE-2026 Spring- 2018 3
2/9/2018 ECE-2026 Spring- 2018 4
fs=8000 Hz
tt=0:1/8000:4; xx=cos(2pi1000tt.(1+tt)); plotspec(xx+j1e grid on, shg -9,8000) soundsc(xx,8000)*
2/9/2018 ECE-2026 Spring- 2018 7
SAMPLING x(t)
IDEAL: x[n] = x(nTs)
x(t) (^) C-to-D x[n]
2/9/2018 ECE-2026 Spring- 2018 8
fs > TWICE the HIGHEST Frequency in x(t) “Sampling above the Nyquist rate”
in SPECTRUM of x(t) is finite NON-BANDLIMITED EXAMPLE TRIANGLE WAVE is NOT BANDLIMITED
2/9/2018 ECE-2026 Spring- 2018 9
ALIASES of NEGATIVE FREQS
i.e., DIVIDE fo by fs p 2 p
( ) ˆ (^20)
f s
f
2/9/2018 ECE-2026 Spring- 2018 10
{2.2p, 4.2p, 6.2p, …} & {-1.8p,-3.8p,…} EX: x[n] = Acos(4.2pn+f)
{1.8p,3.8p,5.8p,…} & {-2.2p, - 4.2p …}
2/9/2018 ECE-2026 Spring- 2018 13
s
s
p
ˆ (^) 2 p
^ ˆ
s
s s s
s f
f f
f f
p f f p p
2 ( ) 2 2 then :^ ˆ
and we want : x [ n ] A cos( ˆ n )
If x ( t ) A cos( 2 p( f fs ) t )
t nf s
2/9/2018 ECE-2026 Spring- 2018 14
x 1 [ n ]cos( 400 p 1000 n )cos( 0. 4 p n )
x 2 [ n ] x 1 [ n ] 2400 p 400 p 2 p( 1000 )
^ ˆ
2/9/2018 ECE-2026 Spring- 2018 15
cos[ 2 ( 0. 9 ) 2 ] cos[ 2 ( 0. 1 ) ] cos[ 2 ( 0. 1 ) ]
cos( 2 ( 900 )) cos[ 2 ( 0. 9 ) ]
cos( 2 ( 1100 )) cos[ 2 ( 1. 1 ) ] cos[ 2 ( 0. 1 ) ]
cos( 2 ( 100 )) cos[ 2 ( 0. 1 ) ]
n n n n
t n
t n n
t n
fs
2/9/2018 ECE-2026 Spring- 2018 16
fs
s
s
ALIASING
2/9/2018 ECE-2026 Spring- 2018 19
x(t) (^) A-to-D x[n] D-to-A y(t)
f f
f ˆ ^ ˆ
y[n]
f fs
2
ˆ
fs
( f ) ˆ (^2)
p
2/9/2018 ECE-2026 Spring- 2018 20
Given y[n], which y(t) do we pick??? INFINITE NUMBER of y(t) PASSING THRU THE SAMPLES, y[n] D-to-A RECONSTRUCTION MUST CHOOSE ONE OUTPUT
THE LOWEST FREQ, if y[n] = sinusoid
2/9/2018 ECE-2026 Spring- 2018 21
fs
fs 80Hz
- 0.5 p
- 1.5 p
- 2.5 p 0.5 p 2.5 p ˆ
1.5 p x [ n ] A cos( 2 p( 100 )( n / 80 ) )
2/9/2018 ECE-2026 Spring- 2018 22
Different Sampling Rates Aliasing of a Sinusoid
Synthetic vs. Real Television SAMPLES at 30 fps
2/9/2018 ECE-2026 Spring- 2018 25
y(t)
y[k]
kTs (k+1)Ts^ t
INTUITIVE, conveys the idea
2/9/2018 ECE-2026 Spring- 2018 26
y[k] should be the value of y(t) at t = kTs Make y(t) equal to y[k] for kTs - 0.5Ts < t < kTs +0.5Ts
y(t)
y[k]
kTs (k+1)Ts^ t
STAIR-STEP APPROXIMATION
2/9/2018 ECE-2026 Spring- 2018 27
2/9/2018 ECE-2026 Spring- 2018 28
EASIER TO RECONSTRUCT
2/9/2018 ECE-2026 Spring- 2018 31
2/9/2018 ECE-2026 Spring- 2018 32
2/9/2018 ECE-2026 Spring- 2018 33
( ) 0 for , 2 ,
for
sin ( )
s s
T
t
T
t
p t t T T
p t t
s
s
p
p
2/9/2018 ECE-2026 Spring- 2018 34