Finite-length Discrete Transforms. Chapter 5, Sections

Similar documents
Fall 2011, EE123 Digital Signal Processing

Ch3 Discrete Time Fourier Transform

Practical Spectral Anaysis (continue) (from Boaz Porat s book) Frequency Measurement

Chapter 8. DFT : The Discrete Fourier Transform

2D DSP Basics: 2D Systems

A. Basics of Discrete Fourier Transform

Frequency Response of FIR Filters

Linear time invariant systems

Frequency Domain Filtering

Written exam Digital Signal Processing for BMT (8E070). Tuesday November 1, 2011, 09:00 12:00.

Signal Processing in Mechatronics. Lecture 3, Convolution, Fourier Series and Fourier Transform

3. Z Transform. Recall that the Fourier transform (FT) of a DT signal xn [ ] is ( ) [ ] = In order for the FT to exist in the finite magnitude sense,

EE / EEE SAMPLE STUDY MATERIAL. GATE, IES & PSUs Signal System. Electrical Engineering. Postal Correspondence Course

EE123 Digital Signal Processing

ELEG3503 Introduction to Digital Signal Processing

Review of Discrete-time Signals. ELEC 635 Prof. Siripong Potisuk

The Discrete Fourier Transform

FFTs in Graphics and Vision. The Fast Fourier Transform

ELEG 4603/5173L Digital Signal Processing Ch. 1 Discrete-Time Signals and Systems

Computing the output response of LTI Systems.

Mathematical Description of Discrete-Time Signals. 9/10/16 M. J. Roberts - All Rights Reserved 1

EE422G Homework #13 (12 points)

The z-transform. 7.1 Introduction. 7.2 The z-transform Derivation of the z-transform: x[n] = z n LTI system, h[n] z = re j

Spring 2014, EE123 Digital Signal Processing

FIR Filter Design: Part II

Solutions. Number of Problems: 4. None. Use only the prepared sheets for your solutions. Additional paper is available from the supervisors.

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution

ADVANCED DIGITAL SIGNAL PROCESSING

Lecture 3. Digital Signal Processing. Chapter 3. z-transforms. Mikael Swartling Nedelko Grbic Bengt Mandersson. rev. 2016

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science. BACKGROUND EXAM September 30, 2004.

x[0] x[1] x[2] Figure 2.1 Graphical representation of a discrete-time signal.

Exponential Moving Average Pieter P

Chapter 7: The z-transform. Chih-Wei Liu

Chapter 7 z-transform

I. Review of 1D continuous and discrete convolution. A. Continuous form: B. Discrete form: C. Example interface and review:

6.003 Homework #12 Solutions

(, ) (, ) (, ) ( ) ( )

EE Midterm Test 1 - Solutions

Olli Simula T / Chapter 1 3. Olli Simula T / Chapter 1 5

COMM 602: Digital Signal Processing

Vibratory Motion. Prof. Zheng-yi Feng NCHU SWC. National CHung Hsing University, Department of Soil and Water Conservation

T Signal Processing Systems Exercise material for autumn Solutions start from Page 16.

Lecture 3: Divide and Conquer: Fast Fourier Transform

6.003 Homework #12 Solutions

Signal Processing. Lecture 02: Discrete Time Signals and Systems. Ahmet Taha Koru, Ph. D. Yildiz Technical University.

Advanced Training Course on FPGA Design and VHDL for Hardware Simulation and Synthesis

Generalizing the DTFT. The z Transform. Complex Exponential Excitation. The Transfer Function. Systems Described by Difference Equations

ECE-S352 Introduction to Digital Signal Processing Lecture 3A Direct Solution of Difference Equations

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. Fall Problem Set 11 Solutions.

The Discrete Fourier Transform

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

Chapter 2 Systems and Signals

MAXIMALLY FLAT FIR FILTERS

Quantum Computing Lecture 7. Quantum Factoring

The Discrete Fourier Transform

Filter banks. Separately, the lowpass and highpass filters are not invertible. removes the highest frequency 1/ 2and

Definition of z-transform.

Introduction to Digital Signal Processing

6.003 Homework #3 Solutions

Analog and Digital Signals. Introduction to Digital Signal Processing. Discrete-time Sinusoids. Analog and Digital Signals

Module 18 Discrete Time Signals and Z-Transforms Objective: Introduction : Description: Discrete Time Signal representation

EECE 301 Signals & Systems

Chapter 3. z-transform

MAS160: Signals, Systems & Information for Media Technology. Problem Set 5. DUE: November 3, (a) Plot of u[n] (b) Plot of x[n]=(0.

Solution of EECS 315 Final Examination F09

Question1 Multiple choices (circle the most appropriate one):

FIR Filters. Lecture #7 Chapter 5. BME 310 Biomedical Computing - J.Schesser

Wavelet Transform and its relation to multirate filter banks

Signals and Systems. Problem Set: From Continuous-Time to Discrete-Time

Block-by Block Convolution, FFT/IFFT, Digital Spectral Analysis

Signals & Systems Chapter3

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING

The Discrete-Time Fourier Transform (DTFT)

Sequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

UNIT-I. 2. A real valued sequence x(n) is anti symmetric if a) X(n)=x(-n) b) X(n)=-x(-n) c) A) and b) d) None Ans: b)

CALCULUS BASIC SUMMER REVIEW

Ma 530 Introduction to Power Series

Discrete-time signals and systems See Oppenheim and Schafer, Second Edition pages 8 93, or First Edition pages 8 79.

1.3 Convergence Theorems of Fourier Series. k k k k. N N k 1. With this in mind, we state (without proof) the convergence of Fourier series.

Polynomial Functions and Their Graphs

6.003: Signal Processing

M2.The Z-Transform and its Properties

Exam. Notes: A single A4 sheet of paper (double sided; hand-written or computer typed)

Discrete-Time Signals and Systems. Signals and Systems. Digital Signals. Discrete-Time Signals. Operations on Sequences: Basic Operations

1. Nature of Impulse Response - Pole on Real Axis. z y(n) = r n. z r

Course Outline. Designing Control Systems. Proportional Controller. Amme 3500 : System Dynamics and Control. Root Locus. Dr. Stefan B.

Discrete-Time Signals and Systems. Discrete-Time Signals and Systems. Signal Symmetry. Elementary Discrete-Time Signals.

Quiz No. 1. ln n n. 1. Define: an infinite sequence A function whose domain is N 2. Define: a convergent sequence A sequence that has a limit

EEO 401 Digital Signal Processing Prof. Mark Fowler

The structure of finite rings. The multiplicative residues. Modular exponentiation. and finite exponentiation

Spring 2014, EE123 Digital Signal Processing

Warped, Chirp Z-Transform: Radar Signal Processing

Physics 324, Fall Dirac Notation. These notes were produced by David Kaplan for Phys. 324 in Autumn 2001.

Chapter 4 : Laplace Transform

FIR Filter Design: Part I

11. What are energy and power signals? (April/may 2011, Nov/Dec 2012) Energy signal: The energy of a discrete time signal x(n) is defined as

A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

. (24) If we consider the geometry of Figure 13 the signal returned from the n th scatterer located at x, y is

Let A(x) and B(x) be two polynomials of degree n 1:

Lesson 10: Limits and Continuity

Transcription:

Fiite-legth Discrete Trasforms Chapter 5, Sectios 5.2-50 5.0 Dr. Iyad djafar

Outlie The Discrete Fourier Trasform (DFT) Matrix Represetatio of DFT Fiite-legth Sequeces Circular Covolutio DFT Symmetry Properties DFT Theorems 2

The Discrete Fourier Trasform (DFT) I practice, we usually deal with fiite-legth sequeces, x[], 0 - j j I this case, the DTFT is X(e ) x[] e X(e jω ) 0.. 3-2π 0 2π However, X(e jω ) is a periodic ad cotiuous fuctio of ω!! How about processig of digital sigals i frequecy domai? ω

The Discrete Fourier Trasform (DFT) X(e jω ).. 4 0 2π -2π Δω Alteratively, cosider workig with oe period of X(e jω )! Still, we have ifiite poits? Take equally-spaced samples from X(e jω ) over the rage [0, 2π] Accordigly, gy, the spacig betwee the samples is Δω = 2π / Ad the ormalized agular frequecy for each sample is ω = 2π k /, 0 k - ω

The Discrete Fourier Trasform (DFT) Mathematically, j X[k] X(e ) 2 k 2 k j x[] e, 0 k - 0 This is called the -poit Discrete Fourier Trasform (DFT) ote that the DFT Always exists sice it is a fiite sum! Whe computig the DFT, all samples i x[] are used to compute oe sample i X[k] 5

The Discrete Fourier Trasform (DFT) Example 5.: compute the 4-poit DFT for x[] = {2, 0, -2, } 6

The Discrete Fourier Trasform (DFT) Example 5.2: compute the -poit DFT for, = 0 x[] 0, - 7

The Discrete Fourier Trasform (DFT) The iverse -poit Discrete Fourier Trasform (IDFT) is give by 2 k Verificatio! i x[] X[k] e, 0 - j k 0 k 0 2 k j x[] X[k] e, 0-2 km 2 k j j x[] x[m] e e, 0 - k 0 m 0 2 k(m ) j x[] x[m] e, 0 - m 0 k 0 8 x[] x[] Equals 0 whe m ad whe m =

Matrix Represetatio of DFT The DFT is give by 9 2 k j X[k] x[] e, 0 k - 0 Let W -j2π/ = e, so the DFT becomes I matrix form k 0 X[k] x[] W, 0 k - x[0] x[] k 2k 3k ( )k X[k] W W W... W x[2]... x[ ]

k = 0 Matrix Represetatio of DFT I geeral, the DFT ca be writte as = 0 = -... x[0] 2 3 ( ) W W W... W x[] 2 4 6 2( ) X[k] W W W... W x[2]...... 2( ) 3( ) ( )( ) W x[ ] W W... W k = - X[k] = D x where D is called the DFT matrix 0

Matrix Represetatio of DFT For the iverse DFT X[k] = D x D X[k] = D D x where theiverseof D is x[] = D X[k]... W W W... W 2 4 6 D W W W... W... W W W... W 2 3 ( ) 2( ) ( ) 2( ) 3( ) ( )( )

The Discrete Fourier Trasform (DFT) Example 5.3: compute the -poit DFT for x[] = {-2,, 7, 3} usig matrix otatio. 2

The Discrete Fourier Trasform (DFT) ote. The -poit DFT is computed from the DTFT through samplig j X[k] X(e ) 2 k ote 2. The DTFT for a legth- sequece ca be computed from the DFT by takig ifiite samples. This implies that we ca take as may as M samples for the DFT give that M > 3

The Discrete Fourier Trasform (DFT) 4 ote 3. For a fiite legth sequece x[], 0 -, the IDFT is periodic with period. I other words, if y[] = IDFT(X[k]),the y[] x[ m], 0 - m Proof: let x[] be a legth- sequece, 0 -, ady[k] be the -poit DFT of x[], i.e., Y[k] x[l] W l ow, the -poit IDFT of Y[k] M k q[] Y[k] W, 0 k k 0 kl

The Discrete Fourier Trasform (DFT) Proof - cotiued However, M kl k q[] x[l] W W, 0 k k 0 l M k( l) q[] x[l] W, 0 k l k 0 5 So, M k 0 ~ W k( l), l = + m 0, otherwise q[]= y[] x[ m], 0 m

The Discrete Fourier Trasform (DFT) ote 4. To compute the M-poit DFT for a legth- sequece, it is required that M to avoid time-domai aliasig betwee the traslated copies of the origial time-domai sequece. Example 5.4: cosider x[] = {, -,, }, =4.If we compute the 4-poit DFT X[k], the the IDFT, x[] X[k] y[] 6 y[] x[ m], 0 m y[] + x[+8] + x[+4] + x[] + x[-4] + x[-8]

The Discrete Fourier Trasform (DFT).5 Example 5.4: Cotiued. x[+4] 0.5 0-0.5.5 y[] - -.5.5-4 -2 0 2 4 6 8 0.5 x[] 0.5 0 + 0-0.5 - -0.5 -.5.5-4 -2 0 2 4 6 8 - x[-4] 0.5 0 -.5 5-4 -2 0 2 4 6 8-0.5 7 - -.5-4 -2 0 2 4 6 8

The Discrete Fourier Trasform (DFT) Example 5.5: cosider x[] = {, -,, }, = 4. If we compute the 2-poit DFT X[k], [], the the IDFT, x[] X[k] [] y[] y[] x[ m], 0 m y[] + x[+4] + x[+2] + x[] + x[-2] + x[-4] 8

The Discrete Fourier Trasform (DFT).5 Example 5.5: Cotiued. 0.5 x[+2] y[] 0-0.5 - -.5.5-4 -2 0 2 4 6 8 2.5 2.5 0.5 x[] + 0-0.5-0.5 -.5.5-4 -2 0 2 4 6 8 0 x[-2] 0.5 0-0.5 05-2 0 2 4 6-0.5 9 - -.5-4 -2 0 2 4 6 8

20 Operatios o Fiite-Legth Sequeces Give a fiite-legth sequece x[], 0 -,weca defie the circular time-reversal of x[] as y[] x[ ] where <> = r is the modulus operator, i.e. r = modulo How to compute <>? For positive, straight forward! For egative umbers, let r = + k, where k is a iteger, the compute the smallest k such that 0 r - Example 5.6 <-5> 7 =?? r=-5 + k * 7 for k = 3 r=6 <-5> 7 =6

Operatios o Fiite-Legth Sequeces Example 5.7: Determie y[] = x[<-> 5 ]for x[] = [ 2 3 4 5] 5 y[0] =x[<-0> 5 = 3 5] 2 y[] = x[<-> 5 ]=5 y[2] = x[<-2> 5 ] = 4 0 y[3] = x[<-3> 5 ]=3 y[4] =x[<-4> 5 ] = 2 x [ ] 4 5 4 0 2 4 2 x[ ] = x[ - ], - x[], = 0 y [] 3 2 0 0 2 4

22 Operatios o Fiite-Legth Sequeces

Operatios o Fiite-Legth Sequeces Give a fiite-legth sequece x[], 0 -,weca defie the circular time-shift of x[] as For o > 0 x[ - o ] For o <0 y[] x[ - ] o x[ - ], - o o x[ + - ], 0 < o o 23 x[ - o ] x[ + - ], - o x[+ ], 0 o o o

Operatios o Fiite-Legth Sequeces Example 5.8: let x[] = {-, 0,, 2}, determie y[] x[ - 2 ] y[0] = x[<0-2> 4 ] = x[<-2> 4 ] = x[2] = y[] = x[< - 2> 4 ] = x[<-> 4 ] = x[3] = 2 y[2] = x[<2-2> 4 4] = x[<0> 4 4] = x[0] = y[3] = x[<3-2> 4 ] = x[<> 4 ] = x[] = 0 4 2 2 x [ ] 0 y [ ] 0-24 - 0 2 3 4 - - 0 2 3 4

Symmetry of Fiite-Legth Sequeces A complex fiite-legth sequece x[], 0 -,is called circular cojugate-symmetric sequece if * * x[] x[ ] x[ ] Acomplex fiite-legth sequece x[], 0 -,is called circular cojugate-atisymmetric sequece if * * x[] -x [ ] -x [ ] A complex fiite-legth sequece ca be decomposed ito its circular cojugate-symmetric ad circular cojugate- atisymmetric parts x[] x [] x [] cs * x cs[] = x[] x [ ] 2 * x ca[] = x[] x [ ] 2 25 ca

Symmetry of Fiite-Legth Sequeces A real fiite-legth sequece x[], 0 -, is called circular eve sequece if x[] x[ ] x[ ] A real fiite-legth sequece x[], 0 -, is called circular odd sequece if x[] -x[ ] -x[ ] A real fiite-legth sequece ca be decomposed ito its cojugate eve symmetric ad cojugate odd parts x[] x [] x [] ev odd x ev[] = x[] x[ ] 2 x odd[] = x[] x[ ] 2 26

Symmetry of Fiite-Legth Sequeces Example 5.9: determie the circular cojugatesymmetric ad circular cojugate-atisymmetric for x[] = {+j4, -2+j3, 4-j2, -5-j6} 27

Circular Covolutio Give a fiite-legth sequece x[], 0 -,withits X(e jω ) beig its DTFT ad X[k] beig its -poit DFT Similarly, let h[], 0 -, be the impulse respose of LTI system with its H(e jω ) beig its DTFT ad H[k] beig its -poit DFT We kow from the covolutio theorem that the output of the system y[] due to the iput x[] y[] = x[] * h[] Y(e jω ) = X(e jω ) H(e jω ) However, is it true that y[] = x[] * h[]?????? Y[k] = X[k] H[k] 28

Circular Covolutio x[] h[] 0-0 - -poit DFT -poit DFT X[k] H[k] IDFT IDFT x[] h[] This implies that x[] * h[] X[k] H[k] 0-29 Wrap aroud error

Circular Covolutio This is called -poit circular covolutio, y[] [] x[] []h[] h[] m 0 =x[]* h[]= x[m]h[<m> h[<-m> ] where the sequece y[] is of legth ad is computed over 0 -. 30 Circular covolutio of legth- fiite sequeces requires Circular time-reversal Circular time-shift Multiplicatio Additio

Circular Covolutio Example 5.0: letx[]={,2,0,}adh[]={2, 2,,}for0 -. Determie the circular covolutio betwee x[] ad h[]. 3 m 0 y[] x[] h[] = x[m] h[<-m> ] c 4 3

Circular Covolutio Ca we implemet liear covolutio betwee two fiite legth sequeces usig circular covolutio? Simply,we eedtoprevetthewraparoud errors!thisca be simply doe by paddig the two sequeces with M zeros where M. This implies that whe the IDFT is computed from the DFT of the padded sequeces, the two sequeces are periodic with the padded zeros. Accordigly, wraparoud errors are caceled whe oe sequece is shifted i covolutio. 32

Circular Covolutio x[] h[] 0-2(-) 0 - -poit DFT -poit DFT X[k] H[k] IDFT IDFT x[] h[] This implies that x[] * h[] X[k] H[k] 0-33

Circular Covolutio So why do we care about circular covolutio? To perform liear covolutio betwee two fiite legth sequeces usig their DFT, the sequeces have to be padded with at least - zeros. Example 5.: x[]={20} h[]={22}. The liear covolutio result The circular covolutio result The circular covolutio result of the padded sequeces 34

DFT Symmetry Properties x is a complex sequece 35

DFT Symmetry Properties x is a real sequece 36

37 DFT Theorems

38 Examples Example 5.2: Compute G[k] ad H[k] of the followig two sequeces usig a sigle 4-poit DFT. x[] = {, 2, 0, } h[] = {2, 2,, }

Examples Example 5.3: X[k] = {4, -+j7.33, --j3.36, -+j3.36, --j7.33}. What is G[k] if g[] = x[<-2> 5 ]? 39

Examples Example 5.4: The 34-poit DFT for a real sequece x[] is kow to be zero except at the followig values of k. Determie k, k 2, k 3, k 4 A, B, C, D, E The DC value The eergy of x[] k X[k] 0 3.42 - ja 7 4.52 + j7.9 k -3.6 + j5.46 k 2 j3.78 47 -j3.78 67 45 + jb k 3 E j7.9 79-3.6+jD 08 C + j7.56 k 4-3.7 j7.56 4 j 40

Related fuctios freqz fft dftmtx t fftshift agle abs mod cov ccov Matlab 4