EE123 Digital Signal Processing

Similar documents
EE123 Digital Signal Processing

Fall 2011, EE123 Digital Signal Processing

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

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

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

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

! Review: Discrete Fourier Transform (DFT) ! DFT Properties. " Duality. " Circular Shift. ! Circular Convolution. ! Fast Convolution Methods

Module 3. Convolution. Aim

EE123 Digital Signal Processing

MAHALAKSHMI ENGINEERING COLLEGE-TRICHY

EE482: Digital Signal Processing Applications

E : Lecture 1 Introduction

In this Lecture. Frequency domain analysis

6.003 Signal Processing

6.003 Signal Processing

DISCRETE FOURIER TRANSFORM

Chapter 8 The Discrete Fourier Transform

INTRODUCTION TO THE DFS AND THE DFT

VU Signal and Image Processing. Torsten Möller + Hrvoje Bogunović + Raphael Sahann

EE538 Digital Signal Processing I Session 13 Exam 1 Live: Wed., Sept. 18, Cover Sheet

Digital Signal Processing Chapter 10. Fourier Analysis of Discrete- Time Signals and Systems CHI. CES Engineering. Prof. Yasser Mostafa Kadah

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

Frequency-domain representation of discrete-time signals

EEO 401 Digital Signal Processing Prof. Mark Fowler

Summary of lecture 1. E x = E x =T. X T (e i!t ) which motivates us to define the energy spectrum Φ xx (!) = jx (i!)j 2 Z 1 Z =T. 2 d!

Interchange of Filtering and Downsampling/Upsampling

ELEG 305: Digital Signal Processing

Discrete Fourier Transform

Discrete Fourier Transform (DFT) & Fast Fourier Transform (FFT) Lab 9

信號與系統 Signals and Systems

DFT-Based FIR Filtering. See Porat s Book: 4.7, 5.6

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A

Lecture 5. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith)

Transforms and Orthogonal Bases

Fourier analysis of discrete-time signals. (Lathi Chapt. 10 and these slides)

Signal Processing COS 323

Discrete-time Fourier transform (DTFT) representation of DT aperiodic signals Section The (DT) Fourier transform (or spectrum) of x[n] is

6.003: Signal Processing

信號與系統 Signals and Systems

SIGNALS AND SYSTEMS. Unit IV. Analysis of DT signals

EE-210. Signals and Systems Homework 7 Solutions

Lecture 20: Discrete Fourier Transform and FFT

8 The Discrete Fourier Transform (DFT)

Computational Methods CMSC/AMSC/MAPL 460. Fourier transform

OLA and FBS Duality Review

DEPARTMENT OF EI DIGITAL SIGNAL PROCESSING ASSIGNMENT 1

Fourier Analysis Overview (0A)

LAB 2: DTFT, DFT, and DFT Spectral Analysis Summer 2011

Computational Data Analysis!

/ (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

BME 50500: Image and Signal Processing in Biomedicine. Lecture 2: Discrete Fourier Transform CCNY

OLA and FBS Duality Review

EDISP (NWL3) (English) Digital Signal Processing DFT Windowing, FFT. October 19, 2016

EE123 Digital Signal Processing

Introduction to DFT. Deployment of Telecommunication Infrastructures. Azadeh Faridi DTIC UPF, Spring 2009

Lecture 8: Orthogonal Frequency Division Multiplexing (OFDM)

EE123 Digital Signal Processing

Fall 2011, EE123 Digital Signal Processing

CS 179: GPU Programming. Lecture 9 / Homework 3

Discrete-time Fourier Series (DTFS)

Lecture 10. Digital Signal Processing. Chapter 7. Discrete Fourier transform DFT. Mikael Swartling Nedelko Grbic Bengt Mandersson. rev.

Fourier Analysis of Signals Using the DFT

DIGITAL SIGNAL PROCESSING UNIT I

Lecture # 06. Image Processing in Frequency Domain

Aspects of Continuous- and Discrete-Time Signals and Systems

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

Review of Discrete-Time System

1. Calculation of the DFT

Lecture 19: Discrete Fourier Series

Digital Signal Processing Module 6 Discrete Fourier Transform (DFT)

Digital Signal Processing BEC505 Chapter 1: Introduction What is a Signal? Signals: The Mathematical Way What is Signal processing?

Discrete Fourier transform (DFT)

Elec4621 Advanced Digital Signal Processing Chapter 11: Time-Frequency Analysis

HST.582J / 6.555J / J Biomedical Signal and Image Processing Spring 2007

Fourier Analysis Overview (0A)

CS 179: GPU Programming. Lecture 9 / Homework 3

Fourier Analysis Overview (0B)

Fourier Series Representation of

From Wikipedia, the free encyclopedia

DSP-I DSP-I DSP-I DSP-I

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals.

Solution 7 August 2015 ECE301 Signals and Systems: Final Exam. Cover Sheet

Digital Image Processing

BEE604 Digital Signal Processing

Digital Signal Processing, Lecture 2 Frequency description continued, DFT

SNR Calculation and Spectral Estimation [S&T Appendix A]

Chirp Transform for FFT

Signals, Instruments, and Systems W5. Introduction to Signal Processing Sampling, Reconstruction, and Filters

Musimathics The Mathematical Foundations of Music Volume 2. Gareth Loy. Foreword by John Chowning

EE123 Digital Signal Processing

06EC44-Signals and System Chapter Fourier Representation for four Signal Classes

Digital Signal Processing. Midterm 2 Solutions

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

NAME: 11 December 2013 Digital Signal Processing I Final Exam Fall Cover Sheet

[ ], [ ] [ ] [ ] = [ ] [ ] [ ]{ [ 1] [ 2]

Continuous-Time Fourier Transform

DSP Algorithm Original PowerPoint slides prepared by S. K. Mitra

EE123 Digital Signal Processing

EEO 401 Digital Signal Processing Prof. Mark Fowler

Signals and Systems Spring 2004 Lecture #9

Transcription:

EE123 Digital Signal Processing Lecture 5 based on slides by J.M. Kahn

Info Last time Finished DTFT Ch. 2 z-transforms Ch. 3 Today: DFT Ch. 8 Reminders: HW Due tonight

The effects of sampling What is going on here? Rolling shutter effect https://www.youtube.com/watch?v=bzjwnzdscxo

Motivation: Discrete Fourier Transform Sampled Representation in time and frequency Numerical Fourier Analysis requires discrete representation But, sampling in one domain corresponds to periodicity in the other... What about DFS (DFT)? Periodic in time Periodic in Frequency What about non-periodic signals? Still use DFS(T), but need special considerations

Which transform? (Time-domain) Discrete Continuity Continuous Periodicity Periodic Aperiodic Sometimes we use this for aperiodic signals, though! DFT, DFS DTFT CFS CTFT Time Frequency Periodic Discrete Discrete Periodic

Motivation: Discrete Fourier Transform Efficient Implementations exist Direct evaluation of DFT: O(N 2 ) Fast Fourier Transform (FFT): O(N log N) (ch. 9, next topic...) Efficient libraries exist: FFTW In Python: > X = np.fft.fft(x); > x = np.fft.ifft(x); Convolution can be implemented efficiently using FFT Direct convolution: O(N 2 ) FFT-based convolution: O(N log N)

Discrete Fourier Series (DFS)

Discrete Fourier Series (DFS) Define: DFS: Properties of WN kn?

Discrete Fourier Series (DFS) Properties of WN: WN 0 = WN N = WN 2N =...=1 WN k+r = WN K WN r or, WN k+n = WN k Example: WN kn (N=6) k=1 k=2 n=4 n=5 n=0,6 n=2,5, n=0,3,6, n=3 n=2 n=1 n=1,4,7,

Discrete Fourier Transform By Convention, work with one period: Same same... but different!

Discrete Fourier Transform Inverse DFT, synthesis DFT, analysis It is understood that,

Discrete Fourier Transform Alternative formulation (not in book) Orthonormal DFT: Inverse DFT, synthesis DFT, analysis Why use this or the other?

Comparison between DFS/DFT DFS DFT

Example 1 0 1 2 3 4 Take N=5 5-point DFT

Example A: where is a period-10 seq. 10-point DFT

Example Show: 4 10-point DFT

DFT vs DTFT For finite sequences of length N: The N-point DFT of x[n] is: The DTFT of x[n] is: What is similar?

DFT vs DTFT The DFT are samples of the DTFT at N equally spaced frequencies

DFT vs DTFT Back to moving average example: w

FFTSHIFT Note that k=0 is w=0 frequency Use fftshift to shift the spectrum so w=0 in the middle.

DFT and Inverse DFT Both computed similarly...let s play: Also...

DFT and Inverse DFT So, or, Implement IDFT by: Take complex conjugate Take DFT Multiply by 1/N Take complex conjugate! Why useful?

DFT as Matrix Operator DFT: IDFT: straightforward implementation requires N 2 complex multiplies :-(

DFT as Matrix Operator Can write compactly as: So, as expected. WHY?

Properties of DFT Inherited from DFS (EE120/20) so no need to be proved Linearity Circular Time Shift

Circular shift

Properties of DFT Circular frequency shift Complex Conjugation Conjugate Symmetry for Real Signals Show...

Examples 4-point DFT Basis functions? Symmetry 5-point DFT Basis functions? Symmetry

Cool DSP: Phase Vocoder, used in autotune Changes the frequency and time domains of audio signals, while still accounting for phase information Uses the DFT! (we ll return to this at the end of lecture) https://www.youtube.com/watch?v=6fth0wrjox4

How can this be used in a phase vocoder? Frequency Time How would you slow this music down? How about changing the pitch? Phase correlations must be respected! https://www.youtube.com/watch?v=o3_ihwhjhuw

Properties of DFT Parseval s Identity Proof (in matrix notation)

Circular Convolution Sum Circular Convolution: for two signals of length N Note: Circular convolution is commutative

Properties of DFT Circular Convolution: Let x1[n], x2[n] be length N Very useful!!! ( for linear convolutions with DFT) Multiplication: Let x1[n], x2[n] be length N

Linear Convolution Next... Using DFT, circular convolution is easy But, linear convolution is useful, not circular So, show how to perform linear convolution with circular convolution Used DFT to do linear convolution