Digital Signal Processing Fourier Analysis of Continuous-Time Signals with the Discrete Fourier Transform

Similar documents
PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM

ECE 2713 Homework Matlab code:

CS3291: Digital Signal Processing

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS

ELECTRONOTES APPLICATION NOTE NO Hanshaw Road Ithaca, NY Nov 7, 2014 MORE CONCERNING NON-FLAT RANDOM FFT

ECE 3793 Matlab Project 4

Final Exam Solutions June 14, 2006

Laboratory Assignment 4. Fourier Sound Synthesis

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

Multirate Digital Signal Processing

It is the speed and discrete nature of the FFT that allows us to analyze a signal's spectrum with MATLAB.

Topic 2. Signal Processing Review. (Some slides are adapted from Bryan Pardo s course slides on Machine Perception of Music)

DFT: Discrete Fourier Transform & Linear Signal Processing

Problem Set 1 (Solutions are due Mon )

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Project I: Phase Tracking and Baud Timing Correction Systems

Frequency Domain Representation of Signals

Sampling of Continuous-Time Signals. Reference chapter 4 in Oppenheim and Schafer.

Sampling and Signal Processing

Discrete Fourier Transform (DFT)

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Outline. Discrete time signals. Impulse sampling z-transform Frequency response Stability INF4420. Jørgen Andreas Michaelsen Spring / 37 2 / 37

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

ELT COMMUNICATION THEORY

EEO 401 Digital Signal Processing Prof. Mark Fowler

EE 422G - Signals and Systems Laboratory

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

Digital Signal Processing

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

SMS045 - DSP Systems in Practice. Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003

Final Exam Solutions June 7, 2004

Performing the Spectrogram on the DSP Shield

George Mason University ECE 201: Introduction to Signal Analysis Spring 2017

EC6502 PRINCIPLES OF DIGITAL SIGNAL PROCESSING

Fourier Series. Discrete time DTFS. (Periodic signals) Continuous time. Same as one-period of discrete Fourier series

Chapter 7. Frequency-Domain Representations 语音信号的频域表征

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido

Concordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu

ECE503: Digital Filter Design Lecture 9

Design of FIR Filters

Armstrong Atlantic State University Engineering Studies MATLAB Marina Sound Processing Primer

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

Final Exam Practice Questions for Music 421, with Solutions

Basic Signals and Systems

ECE 5650/4650 MATLAB Project 1

EECE 301 Signals & Systems Prof. Mark Fowler

Department of Electrical Engineering. Laboratory Manual Digital Signal Processing

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises

EE 123: Digital Signal Processing Spring Lecture 15 March 6

Spectrum Analysis - Elektronikpraktikum

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

DCSP-10: DFT and PSD. Jianfeng Feng. Department of Computer Science Warwick Univ., UK

FIR Filter Design by Frequency Sampling or Interpolation *

Digital Filter Design using MATLAB

THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA. Department of Electrical and Computer Engineering. ELEC 423 Digital Signal Processing

Digital Signal Processing

URBANA-CHAMPAIGN. CS 498PS Audio Computing Lab. Audio DSP basics. Paris Smaragdis. paris.cs.illinois.

Digital Signal Processing PW1 Signals, Correlation functions and Spectra

Signals. Continuous valued or discrete valued Can the signal take any value or only discrete values?

PROBLEM SET 5. Reminder: Quiz 1will be on March 6, during the regular class hour. Details to follow. z = e jω h[n] H(e jω ) H(z) DTFT.

ECE503: Digital Signal Processing Lecture 1

Filters. Signals are sequences of numbers. Simple algebraic operations on signals can perform useful functions: shifting multiplication addition

Chapter 5 Window Functions. periodic with a period of N (number of samples). This is observed in table (3.1).

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2025 Fall 1999 Lab #7: Frequency Response & Bandpass Filters

ECE 429 / 529 Digital Signal Processing

Data Acquisition Systems. Signal DAQ System The Answer?

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters

Recall. Sampling. Why discrete time? Why discrete time? Many signals are continuous-time signals Light Object wave CCD

ELECTRONOTES APPLICATION NOTE NO Hanshaw Road Ithaca, NY August 3, 2017

ECE 301, final exam of the session of Prof. Chih-Chun Wang Saturday 10:20am 12:20pm, December 20, 2008, STEW 130,

Lecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications

6.02 Fall 2012 Lecture #13

Log Booklet for EE2 Experiments

1. In the command window, type "help conv" and press [enter]. Read the information displayed.

Outline. Introduction to Biosignal Processing. Overview of Signals. Measurement Systems. -Filtering -Acquisition Systems (Quantisation and Sampling)

EE 403: Digital Signal Processing

Wireless Communication

EE 311 February 13 and 15, 2019 Lecture 10

Aliasing in Fourier Analysis

5650 chapter4. November 6, 2015

Signal Processing Summary

Digital Filters FIR and IIR Systems

Fundamentals of Signals and Systems Using the Web and MATLAB Edward W. Kamen Bonnie S Heck Third Edition

Other Modulation Techniques - CAP, QAM, DMT

Lecture 2 Review of Signals and Systems: Part 1. EE4900/EE6720 Digital Communications

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.

Short-Time Fourier Transform and Its Inverse

Digital Signal Processing

EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM

IMPLEMENTATION OF GMSK MODULATION SCHEME WITH CHANNEL EQUALIZATION

L A B 3 : G E N E R A T I N G S I N U S O I D S

Lakehead University. Department of Electrical Engineering

Lecture 3, Multirate Signal Processing

Laboration Exercises in Digital Signal Processing

Sampling and Reconstruction of Analog Signals

Using the DFT as a Filter: Correcting a Misconception by Richard G. Lyons

Short Time Fourier Transform *

Laboratory Assignment 5 Amplitude Modulation

Transcription:

Digital Signal Processing Fourier Analysis of Continuous-Time Signals with the Discrete Fourier Transform D. Richard Brown III D. Richard Brown III 1 / 11

Fourier Analysis of CT Signals with the DFT Scenario: Ideally, would like to compute the DTFT of the sequence x[n] since we have a direct relationship between X(e jω ) and X c (jω), i.e., X(e jω ) = 1 T r= ( ω X c (j T 2πr )) T In practice, we can usually only compute the DFT (via the FFT). Since the DFT operates on a finite number of samples, we usually must apply a window function w[n] to the sequence x[n] prior to computing the DFT. D. Richard Brown III 2 / 11

Common Window Functions (window length M + 1) Main lobe width ML is defined as the distance between the first nulls in the DTFT of the window W (e jω ). Relative side lobe amplitude A SL is the ratio (in db) of the amplitude of the main lobe to the amplitude of the largest side lobe. The sign of this parameter is inconsistent. D. Richard Brown III 3 / 11

Effect of Window Function Recall that multiplication in the time domain leads to convolution in the frequency domain, i.e., V (e jω ) = 1 2π π π X(e jγ )W (e j(ω γ) ) dγ One effect of the window is that it blurs any sharp features in the original DTFT X(e jω ). D. Richard Brown III 4 / 11

Computing the DFT: Relating k and Ω Recall that the DFT is computed on the windowed sequence v[n] of length M + 1. The length- DFT (usually = M + 1) is then V [k] = M n= for k =,..., 1 with W = e j2π/. Since v[n]w kn V [k] = V (e jω ) ω=2πk/ and ω = ΩT we can relate the frequency index k to the original continuous time frequency as where Ω s = 2π T Ω = 2πk T = Ω sk is the radian sampling frequency. D. Richard Brown III 5 / 11

Using fftshift When computing the DFT in Matlab, we use the fft command. This returns V [k] for k =,..., 1 which corresponds to frequencies Ω =, Ωs, 2Ωs ( 1)Ωs,...,. Sometimes we prefer to visualize the frequency response over Ωs to Ωs We can use 2 2 the Matlab command fftshift to swap the left and right halves of X[k] so that ( ( 1) Ω 2 s Example: Ω = 2 Ωs, + 1) Ω 2 s,..., = 16; % signal length T = 1/8; % sampling period n = :-1; % discrete time indices Omega_s = 2*pi/T; % radian sampling frequency v = sin(2*pi*n*t); % make finite-length signal subplot(2,1,1); stem(n*omega_s/,abs(fft(v))); xlabel( \Omega ); ylabel( magnitude response ); subplot(2,1,2); stem((n-8)*omega_s/,abs(fftshift(fft(v)))); xlabel( \Omega ); ylabel( magnitude response ); D. Richard Brown III 6 / 11

fftshift Example 1 magnitude response 8 6 4 2 5 1 15 2 25 3 35 4 45 5 Ω 1 magnitude response 8 6 4 2 3 2 1 1 2 3 Ω D. Richard Brown III 7 / 11

Choosing the Window and DFT Length : Example Suppose we have a continuous-time signal s c (t) = sin(2π97t) + sin(2π99t) and we want the two frequencies present in this signal to line up exactly at separate DFT frequency indices k 1 and k 2 without aliasing. Assume a rectangular window. Since Ω = Ωsk and Ω s = 2π T, we can write 97 T = k 1 99 T = k 2 where, k 1, and k 2 are all integers. Some possible solutions: T = 1 2 and = 2 so that k 1 = 97 and k 2 = 99 T = 1 2 and = 4 so that k 1 = 194 and k 2 = 198 T = 1 4 and = 4 so that k 1 = 97 and k 2 = 99 D. Richard Brown III 8 / 11

Example Continued X[k] 2 15 1 T=1/2, = 2 5 5 1 15 2 25 3 35 4 frequency index k X[k] 2 15 1 T=1/2, = 4 5 5 1 15 2 25 3 35 4 frequency index k X[k] 2 15 1 T=1/4, = 4 5 5 1 15 2 25 3 35 4 frequency index k D. Richard Brown III 9 / 11

Frequencies Corresponding to on-integer DFT Indices 11 1 T=1/4, = 2 9 8 7 X[k] 6 5 4 3 2 1 2 4 6 8 1 12 14 16 18 2 frequency index k D. Richard Brown III 1 / 11

Remarks DSP: Fourier Analysis of CT Signals with the DFT In the first three examples, the signal v[n] contained an integer number of periods of s c (t). In the last example, the signal v[n] contained a non-integer number of periods of s c (t). Recall the relationship between the DFT and the DFS: V [k] = Ṽ [k] k =,..., 1 Since ṽ[n] Ṽ [k] is the periodic extension of the finite-length signal v[n] V [k], we get undesirable discontinuities in ṽ[n] if v[n] contains a non-integer number of periods of s c (t). v[n] ṽ[n] D. Richard Brown III 11 / 11