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

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

Module 3. Convolution. Aim

Discrete-time signals and systems

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

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

Signals and Systems. Problem Set: The z-transform and DT Fourier Transform

Digital Signal Processing. Midterm 2 Solutions

EEL3135: Homework #4

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

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

ELEG 305: Digital Signal Processing

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

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

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

Fall 2011, EE123 Digital Signal Processing

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

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

E : Lecture 1 Introduction

CS 179: GPU Programming. Lecture 9 / Homework 3

LAB 6: FIR Filter Design Summer 2011

CS 179: GPU Programming. Lecture 9 / Homework 3

Topic 7. Convolution, Filters, Correlation, Representation. Bryan Pardo, 2008, Northwestern University EECS 352: Machine Perception of Music and Audio

EE-210. Signals and Systems Homework 7 Solutions

Solutions. Number of Problems: 10

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

ECGR4124 Digital Signal Processing Midterm Spring 2010

Transforms and Orthogonal Bases

Discrete Time Fourier Transform (DTFT)

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

Nov EXAM INFO DB Victor Phillip Dahdaleh Building (DB) - TEL building

Question Paper Code : AEC11T02

Frequency-Domain C/S of LTI Systems

QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE)

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

Aspects of Continuous- and Discrete-Time Signals and Systems

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

x[n] = x a (nt ) x a (t)e jωt dt while the discrete time signal x[n] has the discrete-time Fourier transform x[n]e jωn

Multidimensional digital signal processing

Review of Discrete-Time System

LABORATORY 1 DISCRETE-TIME SIGNALS

Linear Convolution Using FFT

Properties of LTI Systems

PS403 - Digital Signal processing

ECGR4124 Digital Signal Processing Exam 2 Spring 2017

ECE-314 Fall 2012 Review Questions for Midterm Examination II

Chapter 8 The Discrete Fourier Transform

Digital Signal Processing: Signal Transforms

Discrete Fourier transform (DFT)

Digital Signal Processing Lab 3: Discrete Fourier Transform

Digital Signal Processing. Midterm 1 Solution

DEPARTMENT OF EI DIGITAL SIGNAL PROCESSING ASSIGNMENT 1

Digital Image Processing. Filtering in the Frequency Domain

IT DIGITAL SIGNAL PROCESSING (2013 regulation) UNIT-1 SIGNALS AND SYSTEMS PART-A

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

EE482: Digital Signal Processing Applications

APPLIED SIGNAL PROCESSING

Quiz. Good luck! Signals & Systems ( ) Number of Problems: 19. Number of Points: 19. Permitted aids:

INFE 5201 SIGNALS AND SYSTEMS

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

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

Digital Signal Processing Lecture 3 - Discrete-Time Systems

Exercises in Digital Signal Processing

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF INFORMATION TECHNOLOGY. Academic Year

Very useful for designing and analyzing signal processing systems

EE482: Digital Signal Processing Applications

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

ESE 531: Digital Signal Processing

Review of Frequency Domain Fourier Series: Continuous periodic frequency components

Final Exam ECE301 Signals and Systems Friday, May 3, Cover Sheet

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

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

Final Exam January 31, Solutions

Review of Fundamentals of Digital Signal Processing

University Question Paper Solution

DFT & Fast Fourier Transform PART-A. 7. Calculate the number of multiplications needed in the calculation of DFT and FFT with 64 point sequence.

E2.5 Signals & Linear Systems. Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & 2)

EEO 401 Digital Signal Processing Prof. Mark Fowler

GATE EE Topic wise Questions SIGNALS & SYSTEMS

DISCRETE FOURIER TRANSFORM

Discrete Time Systems

Two-Dimensional Signal Processing and Image De-noising

Chap 2. Discrete-Time Signals and Systems

Solutions. Number of Problems: 10

Signals & Systems Handout #4

Discrete-Time Signals and Systems

Discrete Fourier Transform

ELC 4351: Digital Signal Processing

MAHALAKSHMI ENGINEERING COLLEGE-TRICHY

Music 270a: Complex Exponentials and Spectrum Representation

INTRODUCTION TO THE DFS AND THE DFT

Lecture 5 - Assembly Programming(II), Intro to Digital Filters

sinc function T=1 sec T=2 sec angle(f(w)) angle(f(w))

Lecture 11 FIR Filters

Convolution. Define a mathematical operation on discrete-time signals called convolution, represented by *. Given two discrete-time signals x 1, x 2,

EEM 409. Random Signals. Problem Set-2: (Power Spectral Density, LTI Systems with Random Inputs) Problem 1: Problem 2:

Recursive, Infinite Impulse Response (IIR) Digital Filters:

Homework #1 Solution

Lecture 19: Discrete Fourier Series

Review of Fundamentals of Digital Signal Processing

A.1 THE SAMPLED TIME DOMAIN AND THE Z TRANSFORM. 0 δ(t)dt = 1, (A.1) δ(t)dt =

Transcription:

Signals and Systems. Definition. A signal is a sequence of numbers {x(n)} n Z satisfying n Z x(n) <. Such a sequence is also referred to as being in l 1 (Z), or just in l 1. A sequence {x(n)} satisfying n Z x(n) 2 < is referred to as an l 2 sequence. Definition. The frequency domain representation of a signal x(n) is the function x(ω) = x(n) e 2πinω = X(e 2πiω ). n Z We think of the function X(e 2πiω ) as the restriction to the unit circle in the complex plane of some function X(z) defined on some portion of the complex plane containing the unit circle. In this case, X(z) is defined as X(z) = x(n) z n n Z and is referred to as the z transform of x(n). 1

Definition. (a) A system is any transformation T that takes an input signal x(n) to an output signal y(n). We write T x(n) = y(n). (b) A system T is linear if T (a x 1 + b x 2 )(n) = a T x 1 (n) + b T x 2 (n) where x 1, x 2 l 1, and a, b are constants. (c) A linear system T is stable if for some C > 0 n Z T x(n) C x(n) n Z for all signals x(n). (d) For n 0 Z, the translation operator τ n0, for signals is τ n0 x(n) = x(n n 0 ). (e) A linear translation invariant (LTI) system is a linear system T for which T (τ n0 x)(n) = τ n0 (T x)(n) = T x(n n 0 ). (f) The convolution of signals x 1, x 2 l 1, denoted x 1 x 2 (n), is y(n) = x 1 x 2 (n) = n Z x 1(k) x 2 (n k). 2

Theorem. (a) If x 1, x 2 l 1, then y = x 1 x 2 l 1. (b) If x 1, x 2 l 1, x 1 x 2 = x 2 x 1. (c) Let h l 1, and define the transformation T h by T h x(n) = (x h)(n). Then T h is a stable LTI system. Theorem. Let T be a stable LTI system. Then there is an h l 1 such that T x(n) = (x h)(n) = k Z x(k) h(n k). The signal h is called the impulse response of T. The impulse response of a stable LTI system is often called a filter. The frequency representation of h(n), ĥ(ω), is called the frequency response of T, and the z transform of h(n), H(z), is called the system function of T. Theorem. Let x 1, x 2 l 1, and let y = x 1 x 2. Then ŷ(ω) = x 1 (ω) x 2 (ω). 3

Definition. Given N N, a sequence {x(n)} n Z is a period N signal if x(n + N) = x(n) for all n Z. Theorem. Given a filter h(n) and a period N signal x(n), the convolution x h(n) is defined for all n and is a period N signal. Definition. Given a period N signal x(n), the (N point) Discrete Fourier Transform or (N point) DFT of x(n), denoted x(n), is the period N sequence defined by x(n) = N 1 j=0 x(j) e 2πijn/N. Theorem. Given a period N sequence x(n) with DFT x(n), x(j) = 1 N for each j Z. N 1 n=0 x(n) e 2πinj/N, 4

Theorem. Let h(n) be a filter and x(n) a period N signal. Then (x h) (n) = x(n) ĥ(n/n), where x(n) is the DFT of x(n) and frequency representation of h. ĥ(ω) is the Definition. Let x(n) and y(n) be period-n signals. Then the circular convolution of x(n) and y(n) is defined by x y(n) = N 1 k=0 x(k) y(n k). 5

Remark. Circular convolution can be realized as multiplication by a matrix whose rows are shifts of one another. Given a period N sequence x(n), define the matrix X by X = x(0) x(n 1) x(n 2) x(1) x(1) x(0) x(n 1) x(2) x(n 1) x(n 2) x(n 3) x(0) If y has period N and r(n) = x y(n), define y = [y(0) y(n 1)] and r = [r(0) r(n 1)]. Then r = Xy.. Theorem. Let x(n) and y(n) be period-n signals, and let x(n) and ŷ(n) be their DFTs; then (x y) (n) = x(n) ŷ(n), where (x y) (n) denotes the DFT of x y(n). 6

The DFT in MATLAB The command fft computes the DFT in MAT- LAB. FFT Discrete Fourier transform. FFT(X) is the discrete Fourier transform (DFT) of vector X. For matrices, the FFT operation is applied to each column. For N-D arrays, the FFT operation operates on the first non-singleton dimension. FFT(X,N) is the N-point FFT, padded with zeros if X has less than N points and truncated if it has more. FFT(X,[],DIM) or FFT(X,N,DIM) applies the FFT operation across the dimension DIM. For length N input vector x, the DFT is a length N vector X, with elements N X(k) = sum x(n)*exp(-j*2*pi*(k-1)*(n-1)/n), 1 <= k <= N. n=1 The inverse DFT (computed by IFFT) is given by N x(n) = (1/N) sum X(k)*exp( j*2*pi*(k-1)*(n-1)/n), 1 <= n <= N. k=1 See also IFFT, FFT2, IFFT2, FFTSHIFT. 7

A quick comparison of the DFT and the DHT. Under MATLAB s definition of the DFT, we have the following notion of symmetry for the DFT. Theorem. (a) If x(n) has period N and is real-valued, then X(k) = X(2 k). (b) If x(n) is real-valued and satisfies x(n) = x(2 n), then so does X(k). Remark. The DHT of a real-valued signal of length N (N = 2 n ) consists of N real numbers, the Haar coefficients. The DFT of the same signal consists of N complex numbers. By symmetry, this can be reduced to N real numbers, the real numbers X(1) and X((N/2) 1), and the real and imaginary parts of the numbers strictly between k = 1 and k = (N/2) 1. A similar thing holds when N is odd. 8

Some small MATLAB examples. >> x=[1 1 1 1 1 1 1 1]; >> y=fft(x) y = 8 0 0 0 0 0 0 0 >> x1=[1 2 3 4 5 4 3 2] x1 = 1 2 3 4 5 4 3 2 >> y1=fft(x1) y1 = 24.0000-6.8284 0-1.1716 0-1.1716 0-6.8284 >> x1=[1 2 3 4 5 6 7 8]; >> y1=fft(x1) y1 = Columns 1 through 6 36.0000 (-4.0000 + 9.6569i) (-4.0000 + 4.0000i) (-4.0000 + 1.6569i) -4.0000 (-4.0000-1.6569i) Columns 7 through 8 (-4.0000-4.0000i) (-4.0000-9.6569i) >> x2=[1 2 3 4 5 6 7]; >> y2=fft(x2) y2 = Columns 1 through 6 28.0000 (-3.5000 + 7.2678i) (-3.5000 + 2.7912i) (-3.5000 + 0.7989i) (-3.5000-0.7989i) (-3.5000-2.7912i) Column 7 (-3.5000-7.2678i) 9

>> x=[1 1 1 1 1 0 0 0]; >> y=fft(x) y = Columns 1 through 6 5.0000 (0-2.4142i) 1.0000 (0-0.4142i) 1.0000 (0 + 0.4142i) Columns 7 through 8 1.0000 (0 + 2.4142i) >> yy=wavedec(x,4, haar ) yy = 2.5000 0 1.0607 0 0.5000 0 0 0.7071 0 >> x1=[1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0]; >> y1=fft(x1) y1 = Columns 1 through 6 11.0000 (-1.6310-3.9375i) (1.7071-1.7071i) (0.3244 + 0.1344i) (0-1.0000i) (1.0898-0.4514i) Columns 7 through 12 (0.2929 + 0.2929i) (0.2168-0.5233i) 1.0000 (0.2168 + 0.5233i) (0.2929-0.2929i) (1.0898 + 0.4514i) Columns 13 through 16 (0 + 1.0000i) (0.3244-0.1344i) (1.7071 + 1.7071i) (-1.6310 + 3.9375i) >> yy1=wavedec(x1,4, haar ) yy1 = Columns 1 through 10 2.7500 1.2500 0 1.0607 0 0 0.5000 0 0 0 Columns 11 through 16 0 0 0 0.7071 0 0 The DHT is noticeably sparser in the latter case. 10