











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/4/2018 ECE2026, Spring 2018 2
ITS Questions: ITS #2 due today Full credit with 2400 points per ITS session
Lab #04: start this Week: Spectrogram, AM, FM Lab # 05 next week: Fourier Series
HW # 04 due this Week
Quiz #1 score adjustment: before 2/23 (Friday) #1: Dr. Fekri ([email protected]. edu) #2: Dr. Yang ([email protected]) #3: Dr. Marenco ([email protected])
2/4/2018 3
Mean: 57. Median: 56 StdDev: 19.
An example summary from spring 2017
ECE2026, Spring 2018
50% overlap is common Consider edge effects when analyzing a short sinusoid
2/4/2018 ECE2026, Spring 2018 4
SECTION LOCATIONS
MIDDLE of SECTION is REFERENCE TIME
2/4/2018 ECE2026, Spring 2018 7
Change x(t) into y(t) For example, more BASS, pitch shifting Improve x(t) , e.g., image deblurring Extract Information from x(t)
x(t) (^) SYSTEM y(t)
2/4/2018 ECE2026, Spring 2018 8
Convert x(t) to numbers stored in memory
x(t) (^) ELECTRONICS y(t)
x(t) (^) A-to-D x[n] COMPUTER y[n] D-to-A y(t)
Circuits: resistors, capacitors, op-amps
2/4/2018 ECE2026, Spring 2018 9
SAMPLING x(t)
Convert x(t) to numbers x[n] “ n ” is an integer; x[n] is a sequence of values Think of “ n ” as the storage address in memory
IDEAL: x[n] = x(nTs)
x(t) (^) C-to-D x[n]
2/4/2018 ECE2026, Spring 2018 10
SAMPLING RATE, fs
fs =1/Ts : in MATLAB - tt=0:1/8000:5. NUMBER of SAMPLES PER SECOND Ts = 125 microsec fs = 8000 samples/sec
IDEAL: x[n] = x(nTs)=x(n/fs)
x(t) (^) C-to-D
2/4/2018 ECE2026, Spring 2018 13
fs 2 kHz
fs 500Hz
f 100 Hz
Which one provides most accurate representation of x(t)?
2/4/2018 ECE2026, Spring 2018 14
DEPENDS on FREQUENCY of SINUSOID ANSWERED by SHANNON/NYQUIST Theorem ALSO DEPENDS on “ RECONSTRUCTION ”
2/4/2018 ECE2026, Spring 2018 15
x [ n ]cos( 0. 4 n )
Given the samples, draw a sinusoid through the values
Occam’s razor -> pick lowest frequency sinusoid
2/4/2018 ECE2026, Spring 2018 16
2/4/2018 ECE2026, Spring 2018 19
DIGITAL FREQUENCY is NORMALIZED
^ ˆ Ts
2 f
fs
2/4/2018 ECE2026, Spring 2018 20
fs
f ˆ^ 2
fs 1 kHz ˆ
- 0.2 2 (0.1)
2/4/2018 ECE2026, Spring 2018 21
^ ˆ
- 2 2 (1)
x [ n ] is zero frequency???
x [ n ] A cos( 2 ( 100 )( n / 100 ) )
fs
f ˆ^ 2
fs 100 Hz
2/4/2018 ECE2026, Spring 2018 22
Called ALIASING MANY SPECTRAL LINES
Because A cos( ˆ n ) A cos(( ˆ 2 ) n )
2/4/2018 ECE2026, Spring 2018 25
GIVEN x[n], we CAN’T KNOW whether it came from a sinusoid at fo or (fo + fs ) or (fo + 2fs ) …
This is called ALIASING
2/4/2018 ECE2026, Spring 2018 26
SPECTRUM for x[n]
ADD MULTIPLES of 2 SUBTRACT MULTIPLES of 2 FOLDED ALIASES (to be discussed later) ALIASES of NEGATIVE FREQS
2/4/2018 ECE2026, Spring 2018 27
ˆ
- 0.2 2 (0.1)
1.8
- 1.8 x [ n ] A cos( 2 ( 100 )( n / 1000 ) )
fs 1 kHz
ˆ^ 2
2/4/2018 ECE2026, Spring 2018 28
- 0.5
- 1.5
- 2.5 ^ 0.5 ^ 2.5 ^ ˆ
1.5
fs 80 kHz
fs
ˆ 2 f
2/4/2018 ECE2026, Spring 2018 31
EXAMPLE: y(t) has 1500 Hz component SAMPLING FREQ = 2000 Hz WHAT is the “FOLDED” ALIAS?
1500 1000 500
2/4/2018 ECE2026, Spring 2018 32
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/4/2018 ECE2026, Spring 2018 33
2/4/2018 ECE2026, Spring 2018 34
Other Frequencies give the same ˆ
and we substitute: t (^) fn (^) s
f
2/4/2018 ECE2026, Spring 2018 37
Or, (2fs-fo ) or, (3fs-fo )
y(t) has 1000 Hz component SAMPLING FREQ = 1500 Hz WHAT is the “FOLDED” ALIAS? 1000 1500 500
2/4/2018 ECE2026, Spring 2018 38
ˆ Ts
2 f
fs
2 l
ˆ Ts
2 f
fs
2 l FOLDED ALIAS
ˆ
ALIASING