EE123 Digital Signal Processing

Similar documents
EE123 Digital Signal Processing

EE123 Digital Signal Processing

EE123 Digital Signal Processing. M. Lustig, EECS UC Berkeley

EE123 Digital Signal Processing

Digital Signal Processing Lecture 3 - Discrete-Time Systems

Digital Signal Processing Lecture 4

EE123 Digital Signal Processing

Let H(z) = P(z)/Q(z) be the system function of a rational form. Let us represent both P(z) and Q(z) as polynomials of z (not z -1 )

Linear Convolution Using FFT

EEL3135: Homework #4

! Introduction. ! Discrete Time Signals & Systems. ! Z-Transform. ! Inverse Z-Transform. ! Sampling of Continuous Time Signals

! Circular Convolution. " Linear convolution with circular convolution. ! Discrete Fourier Transform. " Linear convolution through circular

Chap 2. Discrete-Time Signals and Systems

How to manipulate Frequencies in Discrete-time Domain? Two Main Approaches

ESE 531: Digital Signal Processing

Review of Fundamentals of Digital Signal Processing

ELEG 305: Digital Signal Processing

The Johns Hopkins University Department of Electrical and Computer Engineering Introduction to Linear Systems Fall 2002.

Lecture 3 January 23

EE123 Digital Signal Processing

LAB 6: FIR Filter Design Summer 2011

ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM. Dr. Lim Chee Chin

( ) John A. Quinn Lecture. ESE 531: Digital Signal Processing. Lecture Outline. Frequency Response of LTI System. Example: Zero on Real Axis

EE123 Digital Signal Processing

Frequency-Domain C/S of LTI Systems

Stability Condition in Terms of the Pole Locations

Digital Signal Processing. Midterm 1 Solution

Discrete-Time Fourier Transform (DTFT)

Chapter 7: Filter Design 7.1 Practical Filter Terminology

Fall 2011, EE123 Digital Signal Processing

Ch.11 The Discrete-Time Fourier Transform (DTFT)

Review of Fundamentals of Digital Signal Processing

ENSC327 Communications Systems 2: Fourier Representations. Jie Liang School of Engineering Science Simon Fraser University

Question Paper Code : AEC11T02

Flash File. Module 3 : Sampling and Reconstruction Lecture 28 : Discrete time Fourier transform and its Properties. Objectives: Scope of this Lecture:

ESE 531: Digital Signal Processing

Digital Signal Processing:

Discrete Time Systems

Lecture 11 FIR Filters

Discrete Fourier Transform

Digital Signal Processing. Lecture Notes and Exam Questions DRAFT

NAME: ht () 1 2π. Hj0 ( ) dω Find the value of BW for the system having the following impulse response.

Lecture 7 Discrete Systems

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE

Digital Signal Processing, Homework 1, Spring 2013, Prof. C.D. Chung

Digital Signal Processing Lecture 5

Review of Frequency Domain Fourier Series: Continuous periodic frequency components

ELEG 305: Digital Signal Processing

Review of Discrete-Time System

ECE-314 Fall 2012 Review Questions for Midterm Examination II

Chapter 7: The z-transform

Lecture 19 IIR Filters

New Mexico State University Klipsch School of Electrical Engineering. EE312 - Signals and Systems I Spring 2018 Exam #1

Properties of LTI Systems

6.02 Fall 2012 Lecture #11

ESE 531: Digital Signal Processing

Lecture 4: FT Pairs, Random Signals and z-transform

III. Time Domain Analysis of systems

Digital Signal Processing Module 1 Analysis of Discrete time Linear Time - Invariant Systems

6.02 Fall 2012 Lecture #10

EE 224 Signals and Systems I Review 1/10

Continuous Fourier transform of a Gaussian Function

New Mexico State University Klipsch School of Electrical Engineering. EE312 - Signals and Systems I Fall 2017 Exam #1

Digital Signal Processing Lecture 9 - Design of Digital Filters - FIR

Chapter 3 Fourier Representations of Signals and Linear Time-Invariant Systems

Filter structures ELEC-E5410

Lecture 19: Discrete Fourier Series

EE301 Signals and Systems In-Class Exam Exam 3 Thursday, Apr. 20, Cover Sheet

EE 225D LECTURE ON DIGITAL FILTERS. University of California Berkeley

5.1 The Discrete Time Fourier Transform

VII. Discrete Fourier Transform (DFT) Chapter-8. A. Modulo Arithmetic. (n) N is n modulo N, n is an integer variable.

VU Signal and Image Processing

Discrete Time Signals and Systems Time-frequency Analysis. Gloria Menegaz

Digital Signal Processing. Midterm 2 Solutions

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

EE-210. Signals and Systems Homework 7 Solutions

2. Typical Discrete-Time Systems All-Pass Systems (5.5) 2.2. Minimum-Phase Systems (5.6) 2.3. Generalized Linear-Phase Systems (5.

The Z-Transform. Fall 2012, EE123 Digital Signal Processing. Eigen Functions of LTI System. Eigen Functions of LTI System

Analog vs. discrete signals

Solution 10 July 2015 ECE301 Signals and Systems: Midterm. Cover Sheet

ESE 531: Digital Signal Processing

DIGITAL SIGNAL PROCESSING LECTURE 1

ECE 308 Discrete-Time Signals and Systems

INF3440/INF4440. Design of digital filters

3.2 Complex Sinusoids and Frequency Response of LTI Systems

Final Exam of ECE301, Section 1 (Prof. Chih-Chun Wang) 1 3pm, Friday, December 13, 2016, EE 129.

/ (2π) X(e jω ) dω. 4. An 8 point sequence is given by x(n) = {2,2,2,2,1,1,1,1}. Compute 8 point DFT of x(n) by

University Question Paper Solution

EE361: Signals and System II

Signals & Systems Handout #4

ELEG 3124 SYSTEMS AND SIGNALS Ch. 5 Fourier Transform

DISCRETE FOURIER TRANSFORM

EECE 301 Signals & Systems Prof. Mark Fowler

Discrete-time Signals and Systems in

The Discrete-Time Fourier

UNIT - 7: FIR Filter Design

EC Signals and Systems

ECGR4124 Digital Signal Processing Final Spring 2009

Signals and Systems Profs. Byron Yu and Pulkit Grover Fall Midterm 2 Solutions

EE538 Final Exam Fall :20 pm -5:20 pm PHYS 223 Dec. 17, Cover Sheet

Transcription:

EE123 Digital Signal Processing Discrete Time Fourier Transform M. Lustig, EECS UC Berkeley

A couple of things Read Ch 2 2.0-2.9 It s OK to use 2nd edition Class webcast in bcourses.berkeley.edu or linked from our website My office hours: posted on-line W 4-5pm (EE123 priority), 5pm-6pm (ham-shack) Th 2p-3p (EE225E Priority) Cory 506 / 504 Reward: 2$ for every typo/errors in my slides/slide ham radio lectures. Wednesday 6:30-8:30pm Cory 521 M. Lustig, EECS UC Berkeley

Discrete Time Systems x[n] T { } y[n] Causality Memoryless Linearity Time Invariance BIBO stability M. Lustig, EECS UC Berkeley

Discrete-Time LTI Systems The impulse response h[n] completely characterizes an LTI system DNA of LTI [n] LTI h[n] discrete convolution x[n] LTI y[n] =h[n] x[n] 1X y[n] = h[m]x[n m] N= 1 m Sum of weighted, delayed impulse responses! M. Lustig, EECS UC Berkeley

BIBO Stability of LTI Systems An LTI system is BIBO stable iff h[n] is absolutely summable 1X k= 1 h[k] < 1 M. Lustig, EECS UC Berkeley

BIBO Stability of LTI Systems Proof: if y[n] = apple 1X h[k]x[n k] k= 1 1X k= 1 h[k] x[n k] apple B x apple B x 1 X k= 1 h[k] < 1 M. Lustig, EECS UC Berkeley

BIBO Stability of LTI Systems Proof: only if P 1 k= 1 h[k] = 1 suppose show that there exists bounded x[n] that gives unbounded y[n] Let: M. Lustig, EECS UC Berkeley

Discrete-Time Fourier Transform (DTFT) X(e j! )= x[n] = 1 Alternative 2 1X k= 1 Z X(f) = x[n] = x[k]e j!k X(e j! )e j!n d! 1X k= 1 Z 0.5 0.5 x[k]e j2 fk X(f)e j2 fn df Why one is sum and the other integral? Why use one over the other?

Example 1: w[n] window -N N DTFT: W (e j! ) = NX e j!k k= N = e j!n 1+e j! + + e j!2n Recall: 1+p + p 2 + + p M = 1 pm+1 1 p p = e j! M = 2N

Example 1 cont. DTFT:

Example 1 cont. DTFT: W (e j! ) = e j!n 1+e j! + + e j!2n = e jwn 1 ei!(2n+1) 1+e j! = e j!n e j!n e j! 1 e j! = e j!(n+ 1 2 ) e j!(n+ 1 2 ) e j! 2 e j! 2 = sin[(n + 1 2 )!] sin(! 2 ) j - e j! 2 e j! 2 periodic sinc

Example 1 cont. W (e j! )= sin[(n + 1 2 )!] sin(! 2 ) also, Σx[n]! (2N + 1) as!! 0 from l Hôpital 2N +1 N + 1 2 =1, why?

Properties of the DTFT Periodicity: X(e j(!+2 ) )=X(e j! ) Conjugate Symmetry: X (e j! )=X(e j! ) if x[n] is real Re X(e j! ) = Re X(e j! ) Im X(e j! ) = Im X(e j! ) Big deal for: MRI, Communications, more...

Half Fourier Imaging in MR k-space (Raw Data) Image Complete based on conjugate symmetry Half the Scan time! Discrete Fourier transform

SSB Modulation Real Baseband signal has conjugate symmetric spectrum m[n] cos(! 0 n) AM modulation (DSB-SC)!! Single sideband (USB) half bandwidth!

SSB Amateur radio on shortwaves often use SSB modulation Example: Websdr http://websdr.org http://100.1.108.103:8902

Properties of the DTFT cont. Time-Reversal x[n] $ X(e i! ) x[ n] $ X(e i! ) = X (e j! ) if x[n] 2Real If x[n] = x[-n] and x[n] is real, then: X(e j! ) = X (e j! )! X(e j! ) 2Real

Q: Suppose: x[n] $ X(e j! )? $ Re X(e j! ) A: Decompose x[n] to even and odd functions x[n] =x e [n]+x o [n] x e [n] := 1 2 x o [n] := 1 2 (x[n]+x[ n]) (x[n] x[ n]) x e [n]+x o [n]!re X(e j! ) + jim X(e j! )

Oops!

Properties of the DTFT cont. Time-Freq Shifting/modulation: x[n] $ X(e j! ) Good for MRI! Why x[n n d ] $ e j!n d X(e j! ) e j! 0n x[n] $ X(e j(!! o) )

Thursday, January 26, 12

Example 2 What is the DTFT of: 5 High Pass Filter 2N +1=5 4 3 2 e j n 1 0 1 2 3 2 1 0 1 2 3 See 2.9 for more properties

Frequency Response of LTI Systems Check response to a pure frequency: e i!n 0 LTI y[n] y[n] = = 1X k= 1 h[k]e j!(n k) 0 1 1X B @ h[k]e j!k C k= 1 {z } 0 A ej!n 0 0 H e j!!=! 0

Frequency Response of LTI Systems Check response to a pure frequency: e i!n 0 LTI y[n] H(e j! )=DTFT{h[n]} y[n] =H e j!!=! 0 e j! 0n Output is the same pure frequency, scaled and phase-shifted! e j! 0n is an eigen function of LTI systems Recall eigen vectors satisfy: A =

Example 3 Frequency response of a causal moving average filter y[n] = x[n M]+ + x[n] M +1 Q: What type of filter is it? A: Low-Pass 1 M +1 0 M h[n] = 1 M +1 w[n n M 2 ]

Example 3 Cont. Frequency response of a causal moving average filter h[n] = 1 M +1 w[n M 2 ] Same as example 1, only: Shifted by N, divided by M+1, M=2N H(e j! )= e j! M 2 M +1 sin ( M 2 + 1 2 )! sin(! 2 )

Example 3 Cont. Frequency response of a causal moving average filter H(e j! )= e j! M 2 M +1 sin ( M 2 + 1)! sin(! 2 ) Not a sinc! 1 H(e j! ) 3 \H(e j! ) 2 0.8 0.6 0.4 1 0 1 0.2 2 0 3 2 1 0 1 2 3 3 3 2 1 0 1 2 3

Example 4: Impulse Response of an Ideal Low-Pass Filter H 1 LP (e j! )! c! c h LP [n] = 1 2 = 1 2 Z Z!c H LP (e jw )e j!n d!! c e j!n d!

Example 4 Impulse Response of an Ideal Low-Pass Filter Z h LP [n] = 1 2 = 1 2 Z!c H LP (e jw )e j!n d!! c e j!n d! = 1 2 jn ej!n! c! c =2j sin(w c n) = sin(w cn) n

Example 4 Impulse Response of an Ideal Low-Pass Filter h LP [n] = sin(w cn) n sampled sinc 0.25 0.2 h LP [n] 0.15 0.1 0.05 0 0.05 20 15 10 5 0 5 10 15 20 Non causal! Truncate and shift right to make causal

Example 4 Impulse Response of an Ideal Low-Pass Filter Non causal! Truncate and shift right to make causal How does it changes the frequency response? Truncation: h LP [n] =w N [n] h LP [n] property 2.9.7: H LP (e j! )= 1 2 Z H LP (e j )W (e j(! ) )d Periodic convolution

Example 4 We get smearing of the frequency response We get rippling 1.2 0.8 1 0.6 0.4 0.2-0.2 0-3 -2-1 0 1 2 3 ω real imag