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

Similar documents
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

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

Module 3. Convolution. Aim

Discrete Fourier transform (DFT)

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!

Definition. A signal is a sequence of numbers. sequence is also referred to as being in l 1 (Z), or just in l 1. A sequence {x(n)} satisfying

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

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

EE-210. Signals and Systems Homework 7 Solutions

Fast Fourier Transform Discrete-time windowing Discrete Fourier Transform Relationship to DTFT Relationship to DTFS Zero padding

SIGNALS AND SYSTEMS. Unit IV. Analysis of DT signals

EE482: Digital Signal Processing Applications

Fast Fourier Transform Discrete-time windowing Discrete Fourier Transform Relationship to DTFT Relationship to DTFS Zero padding

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

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

DISCRETE FOURIER TRANSFORM

Interchange of Filtering and Downsampling/Upsampling

Digital Signal Processing Lab 3: Discrete Fourier Transform

EE123 Digital Signal Processing

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

E : Lecture 1 Introduction

In this Lecture. Frequency domain analysis

MAHALAKSHMI ENGINEERING COLLEGE-TRICHY

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

Digital Signal Processing Lecture 4

Lecture 19: Discrete Fourier Series

Fall 2011, EE123 Digital Signal Processing

Signals and Systems Chapter 2

Discrete Fourier Transform

HW13 Solutions. Pr (a) The DTFT of c[n] is. C(e jω ) = 0.5 m e jωm e jω + 1

Discrete-time signals and systems

LABORATORY 1 DISCRETE-TIME SIGNALS

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

ESE 531: Digital Signal Processing

Responses of Digital Filters Chapter Intended Learning Outcomes:

INTRODUCTION TO THE DFS AND THE DFT

Linear Convolution Using FFT

Discrete-time Signals and Systems in

Digital Signal Processing Module 6 Discrete Fourier Transform (DFT)

Lecture 20: Discrete Fourier Transform and FFT

Chapter 8 The Discrete Fourier Transform

(i) Understanding the characteristics and properties of DTFT

ELEG 305: Digital Signal Processing

PROBLEM SET 3. Note: This problem set is a little shorter than usual because we have not covered inverse z-transforms yet.

Digital Signal Processing: Signal Transforms

ESE 531: Digital Signal Processing

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

Discrete Time Fourier Transform (DTFT)

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

Continuous Fourier transform of a Gaussian Function

ECE503: Digital Signal Processing Lecture 4

Transforms and Orthogonal Bases

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 )

EE482: Digital Signal Processing Applications

QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE)

Discrete Fourier Transform

8 The Discrete Fourier Transform (DFT)

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

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

(i) Represent continuous-time periodic signals using Fourier series

LTI H. the system H when xn [ ] is the input.

Digital Signal Processing. Midterm 2 Solutions

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

EE123 Digital Signal Processing

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

LAB 6: FIR Filter Design Summer 2011

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

ELEG 305: Digital Signal Processing

Correlation, discrete Fourier transforms and the power spectral density

ESE 531: Digital Signal Processing

Chapter 5. Fourier Analysis for Discrete-Time Signals and Systems Chapter

Contents. Digital Signal Processing, Part II: Power Spectrum Estimation

Z-Transform. The Z-transform is the Discrete-Time counterpart of the Laplace Transform. Laplace : G(s) = g(t)e st dt. Z : G(z) =

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

Chapter Intended Learning Outcomes: (i) Understanding the relationship between transform and the Fourier transform for discrete-time signals

1. Calculation of the DFT

The Discrete Fourier Transform

DSP Laboratory (EELE 4110) Lab#5 DTFS & DTFT

Analog vs. discrete signals

Aspects of Continuous- and Discrete-Time Signals and Systems

7.16 Discrete Fourier Transform

Discrete-Time Fourier Transform

ELEG 305: Digital Signal Processing

Chapter 7: The z-transform

Roll No. :... Invigilator s Signature :.. CS/B.Tech (EE-N)/SEM-6/EC-611/ DIGITAL SIGNAL PROCESSING. Time Allotted : 3 Hours Full Marks : 70

DFT Octave Codes (0B) Young Won Lim 4/15/17

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

Digital Signal Processing:

Digital Signal Processing I Final Exam Fall 2008 ECE Dec Cover Sheet

ELEG 305: Digital Signal Processing

ECE 413 Digital Signal Processing Midterm Exam, Spring Instructions:

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

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

EEO 401 Digital Signal Processing Prof. Mark Fowler

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

Digital Signal Processing

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

CE 513: STATISTICAL METHODS

Transcription:

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

Discrete-Time Fourier Transform Sampled time domain signal has a Fourier transform that is periodic Periodic time domain signal has a Fourier transform that is sampled Periodic and sampled time domain signal has a Fourier transform that is both periodic and sampled Forward DTFT Inverse DTFT

Notes on DTFT DTFT is just one period of the continuous Fourier transform of the sampled signal Z-transform is related to the DTFT as follows: DTFT is the values on the unit circle in z-transform Unit circle must be included in the ROC Problem: the sampled signal is still infinite in length Impossible to obtain using computers Consider cases when the signal has compact support

Discrete Fourier Transform (DFT) Defined as the Fourier transform of a signal that is both discrete and periodic Fourier transform will also be discrete and periodic Can assume periodicity if we have a finite duration of a signal: better than zero assumption since it allows reducing the frequency domain to a sampled function

DFT Formula Given a periodic signal x[n] of period N, its DFT is given by, Its inverse is given by, Both X[k] and x[n] are periodic of the same period N.

Computation of DFT Using FFT A very efficient computation of the DFT is done by means of the FFT algorithm, which takes advantage of some special characteristics of the DFT DFT requires O(N2) computations FFT requires O(N log 2 N) computations Both compute the same thing It should be understood that the FFT is not another transformation but an algorithm to efficiently compute DFTs. Always remember that the signal and its DFT are both periodic

Improving Resolution in DFT When the signal x[n] is periodic of period N, the DFT values are normalized Fourier series coefficients of x[n] that only exist for the N harmonic frequencies {2 k/n}, as no frequency components exist for any other frequencies The number of possible frequencies depend on the length L chosen to compute its DFT. Frequencies at which we compute the DFT can be seen as frequencies around the unit circle in the z-plane We can improve the frequency resolution of its DFT by increasing the number of samples in the signal without distorting the signal by padding the signal with zeros Increase samples of the units circle

Phase in DFT Output of DFT is complex numbers Phase is just as important as magnitude in DFT Time shift amounts to linear phase Phase wrapping occurs for large shifts Linear phase can be unwrapped to its correct form using the unwrap function of Matlab N= 32; x= zeros(n,1); x(11:15)= [0.2 0.5 1 0.5 0.2]; X= fftshift(fft(x)); subplot(4,1,1); stem(1:n,x); title('signal') subplot(4,1,2); plot(abs(x)); title('dft Magnitude') subplot(4,1,3); plot(angle(x)); title('computed Phase') subplot(4,1,4); plot(unwrap(angle(x))); title('unwrapped Phase')

Phase in DFT: Examples Less Time Shift More Time Shift Slower linear phase Steeper linear phase

Zero-Padding Example Matlab Code N= 32; N2= 128; n=0:n-1; n2= 0:N2-1; x= zeros(n,1); x(1:16)= 1; X= fftshift(fft(x)); X2= fftshift(fft(x,n2)); subplot(3,1,1) stem(n,x) subplot(3,1,2) stem(n,abs(x)) subplot(3,1,3) stem(n2,abs(x2)) Original Signal 32-Point FFT 128-Point FFT No zero-padding With zero-padding

Linear vs. Circular Convolution Convolution in continuous and discrete time aperiodic signals is called linear convolution Convolution can be calculated as a multiplication in the frequency domain Convolution property of the Fourier transform Problem: when using DFT to compute convolution of aperiodic signals, the periodicity assumption results in errors in computing the convolution Signal outside the N points used is not zero: periodic extension of the N points disturb the computation What we compute is called circular convolution

Linear vs. Circular Convolution Given x[n] and h[n] of lengths M and K, the linear convolution sum y[n] of length N=(M+K-1) can be found by following these three steps: Compute DFTs X[k] and H[k] of length L N for x[n] and h[n] using zero-padding Multiply them to get Y[k]= X[k]H[k]. Find the inverse DFT of Y[k] of length L to obtain y[n]

Linear vs. Circular Convolution: Example N1= 16; N2= 16; N= 32; % N>N1+N2-1 x1= zeros(n1,1); x2= zeros(n2,1); x1(1:4)= 1; x2(:)= 1; X1= fft(x1,n1); X2= fft(x2,n1); X_circ= X1.*X2; x_circ= ifft(x_circ); X1= fft(x1,n); X2= fft(x2,n); X_lin= X1.*X2; x_lin= ifft(x_lin); figure(1); subplot(4,1,1); stem(1:n1,x1) subplot(4,1,2); stem(1:n2,x2) subplot(4,1,3); stem(1:n1, abs(x_circ)) title('circular Convolution'); subplot(4,1,4); stem(1:n,abs(x_lin)) title('circular Convolution');

Fourier Transformations Chart Time Signal Classification Continuous Discrete Continuous Continuous Fourier Transform (CFT) Discrete-Time Fourier Transform (DTFT) Frequency Discrete Discrete Fourier Series (DFS) Discrete Fourier Transform (DFT) Most General Form: others are special cases Only one that can be done on a computer

Problem Assignments Problems: 10.12, 10.26, 10.27, 10.29 Partial Solutions available from the student section of the textbook web site