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

Size: px
Start display at page:

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

Transcription

1 PROBLEM SET 6 Issued: 2/32/19 Due: 3/1/19 Reading: During the past week we discussed change of discrete-time sampling rate, introducing the techniques of decimation and interpolation, which is covered in OSYP 4.6. During the coming week we will begin a discussion of the spectral representation of discrete-time periodic and finite-duration signals, leading to the discrete Fourier transform (DFT) and the fast Fourier transform (FFT). Note: Quiz 1 will be on March 6. The exam will be closed book, but you may bring in one sheet of 8.5 x 11 or A4 paper with notes on both sides. There will be a review session before the exam, most likely to be scheduled during the Sunday afternoon or Monday evening preceding the exam. Final date, time, and place TBA. Most of the time will be spend answering questions and working problems... come with questions or the review will be short and boring! The exam will cover through this problem set, or in other words the material we have discussed in OSYP Chapters 1-5. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems. Problem 6.1: x[n] L x e [n] H(e jω ) y e [n] M y[n] Consider the multi-rate discrete-time system shown in the figure above. We know that: L and M are positive integers x e n xn L for n rl and zero otherwise yn y e nm He j M 4 0 4

2 Problem Set 6-2- Spring, 2019 X(e jω ) 1 π π/2 π/2 π ω (a) Assume that L 2 and M 4 and that Xe j, the DTFT of xn, is real and is as shown in the figure above. Sketch and dimension the functions X e e j, Y e e j, and Ye j, the DTFTs of x e n, y e n, and yn, respectively. Be sure to label clearly all important magnitudes and frequencies. (b) Now assume that L 2 and M 8. Determine yn for this case. Hint: See which diagrams in your answer to part (a) change. Problem 6.2: x[n] v[n] 5 4 w[n] H(e jω ) y[n] In the system above, the input signal is xn sin 0.25n -- 4 The system decimates the input by a factor of 5, upsamples the result by a factor of 4 (i.e. places three zeros between each successive sample of vn ), and finally passes the system through the ideal lowpass filter He j with frequency response He j As it turns out, this system is not particularly well designed, but do not let that bother you. (a) Sketch and dimension the following DTFTs: 1. Ve j, the DTFT of vn

3 Problem Set 6-3- Spring, We j, the DTFT of wn 3. Ye j, the DTFT of yn (b) It is claimed that the output Acos 0 n + yn can be expressed in the following form: Find numerical values for the coefficients A, 0, and. Note: in obtaining the answer to this problem, please keep in mind that at t a in the distributional sense. This should be taken into consideration whenever you are working with a delta function of a continuous argument, and the scale of the horizontal axis is changed. Problem 6.3: (an old quiz problem) xn x 3 s n x LPF i n z -1 3 x i n 1 x r n The block diagram above depicts a system that is designed to delay the input signal (or at least its envelope) by 1/3 of a sample. In the diagram above, the signal x s n is obtained by inserting two zeros between successive samples of the input xn so that x s n xn 3 for n 3r and zero otherwise. The ideal lowpass filter has a gain of 3 and a cutoff frequency of 3. The final output x r n is obtained by decimating x i n 1 such that x r n x i 3n 1. 1 X(e jω ) π/3 π/3 ω (a) The input signal xn has the DTFT Xe j depicted above. Sketch and dimension carefully the magnitude and phase of the following spectra:

4 Problem Set 6-4- Spring, Sketch and dimension X s e j, the DTFT of x s n. 5. Sketch and dimension X i e j, the DTFT of x i n. 6. Sketch and dimension X r e j, the DTFT of x r n. (b) Now suppose that the input to the system is changed to x b n cos0.5n. It is claimed that the overall system output can now be expressed in the form y b n Acosn +. Obtain numerical values for the parameters A,, and. Problem 6.4: Introduction: Commercial CD players routinely employ upsampling, although this fact is not as heavily advertised as it was during the early days of compact disks when this feature provided some competitive advantage. In this problem we discuss one of the reasons why upsampling is commonly used in commercial digital audio systems. Although digital sound reproduction systems (like compact discs) nominally store and process sound without distortion, the signal still has to be converted back to a continuous-time waveform (frequently called an analog waveform) before it reaches the listener. While rapidly declining hardware costs make it practical to implement discrete-time filters with very sharp skirts, it is still difficult and expensive to design high-performance continuous-time filters. We will compare the effect that nonideal continuous-time filtering has on an idealized discrete-time sound reproduction system with and without upsampling. Assume that an arbitrary audio signal with a bandwidth of 20 khz (or radians/sec) is sampled at a sampling frequency of 44.1 khz (the standard sampling rate for commercial digital audio). As you learned in lectures and from the text, this means that the upper discrete-time cutoff frequency of the digitized audio signal is 2.85 or radians. Assume also that a third-order Butterworth filter is used for the continuous-time lowpass anti-aliasing filter. (This is not necessarily the type of filter that is actually used in commercial digital audio systems, but it s a simple design that is easy to apply to this problem.) The magnitude of the (continuous-time) frequency response is Hj c where c is the cutoff frequency of the filter. Note that this filter has a gain of 1 at very low frequencies. Following common practice, we will compare the magnitudes of the frequency response of the continuoustime filter at different frequencies in decibels. As you may recall, the ratio in decibels (db) of the magnitudes of a filter s transfer functions at two frequencies is equal to

5 Problem Set 6-5- Spring, log Hj Hj 2, with the logarithm taken to the base 10. (a) Now we re ready to consider a simple discrete-time playback system without upsampling. Consider the system shown in block diagram form in Fig 6.4a. Assume that Xe j, the DTFT of the digitized signal xn, is as shown in Fig 6.4b. xn y s t x c t Hj T Figure 6.4a A X(e jω ) -.907π.907π ω Figure 6.4b y s t n xn t nt where the sampling period is T khz in this case. Hj is a three-pole Butterworth filter, and the magnitude of its transfer function was given above. (Please note: this is not the ideal reconstruction filter discussed in Sec. 4.3 (cf. Fig. 4.9a) of OSYP!) The function y(t) is the output of the filter. 1. Sketch and dimension Y s j, the (continuous-time) Fourier transform of y s t. 2. What is the lowest frequency (in rad/sec) at which unwanted upper frequency components of y s t appear that were introduced by the sampling of the original audio signal? (In other words, determine

6 Problem Set 6-6- Spring, 2019 the lowest frequency of the first periodic repetition of the spectrum that is centered at sec.) 2 T rad/ 3. Assume that c, the cutoff frequency of the analog lowpass filter Hj is set to the Nyquist frequency, rad/sec. Relative to its response at low frequencies, by how much does the analog lowpass filter attenuate the magnitude of the original audio signal at its upper cutoff frequency ( rad/sec)? By how much does the analog lowpass filter attenuate the magnitude of the lowest unwanted frequency component that was your answer to part (a2) of this question? Express your answers to these questions in decibels. (b) Now we ll consider a similar system, but with upsampling by a factor of 4:1. In Figure 6.4c, v[n] is an upsampled or interpolated version of x[n]. xn wn vn H I e j y su t y u t vn Hj T Figure 6.4c To obtain v[n] we first construct w[n], a zero-padded version of x[n]: wn xn 4, where n equals some integer multiple of 4 0otherwise v[n] is obtained by passing w[n] through an ideal discrete-time lowpass filter with transfer function H I e j given (for ) by H I e j 1, 4 0, otherwise The ideal D/C converter works as described above, except that the sampling period has been decreased by a factor of 4 so that now T khz. y su t is the output of the D/C converter of this second

7 Problem Set 6-7- Spring, 2019 system with upsampling, and y u t is the total system output after lowpass filtering. As before, we will assume that Hj is a third-order Butterworth lowpass filter. 1. Sketch and dimension We j and Ve j, the DTFTs of w[n] and v[n], respectively, and Y su j, the CTFT of y su t. 2. What is the lowest frequency (in rad/sec) at which unwanted components of y su t (not in the original audio signal) appear in this second system with upsampling? 3. Again assume that the cutoff frequency of the analog lowpass filter Hj is set to rad/sec. Relative to its response at low frequencies, by how much does the analog lowpass filter attenuate the magnitude of the original audio signal at its upper cutoff frequency, rad/sec? By how much does the analog lowpass filter attenuate the magnitude of the lowest unwanted frequency component? Express your answers to these questions in decibels. MATLAB Problems In working the MATLAB problems, turn in a printout of your results, a copy of the MATLAB code you developed to work the problem, as well as any additional comments you'd like to add. [These instructions will be updated by Saturday morning.] Problem C6.1: The MATLAB routines decimate, interp, and resample are used to accomplish decimation, interpolation, and general change of sampling rate, respectively. You will be provided with a main file main_6_1.m that you must complete. In MATLAB, enter load mtlb, to load a pre-recorded segment of a genuine Mathworks employee uttering the word MATLAB. The signal is sampled at 7000 Hz. (a) Let the sequence x represent samples 1000 through 1127 of the waveform mtlb. Plot x and its DTFT (perhaps using the DTFT routine you wrote for Problem Set 2). (b) Upsample the sequence x by a factor of 3. Plot the new sequence and its DTFT. Compare to your plots in (a). (c) Downsample the original sequence x by a factor of 2. Plot the new sequence and its DTFT. Compare to your plots in (a) and (b). (d) Plot the sequence that is derived from the original sequence x by increasing its sampling rate by a factor of 1.5. Again plot the new sequence and its DTFT.

8 Problem Set 6-8- Spring, 2019 Problem C6.2: As we discussed this week, a common operation in digital signal processing is interpolation or upsampling, where we begin with a discrete-time signal and stuff zeros between the sample points of the original function lowpass filter the result, to obtain a new function with a greater density of sample points with respect to time. While we typically used ideal lowpass filters in the examples discussed in class, we will consider in this problem the properties of the filter that is implied by the common operation of linear interpolation. This topic is discussed in some detail in OSYP Sec You will be provided with a file main_6_2.m that you must complete. (a) For our example of linear interpolation, we will consider interpolation by a factor of 5, in which we begin by inserting 4 samples between a series of original sample points. x i n x n 5 + x n x n 5 1 5n 5 In the difficult-to-read expression above, s refers to the greatest integer that is less than or equal to s and the expression n m refers to n mod m, or the remainder that is obtained when n is divided by m. A more transparent but less compact description of the expression above is the following sequence of operations: 1. Let x e n be equal to xn 5 for integer values of n 5, and zero otherwise. 2. The function x i n defined above is obtained the convolution of x e n and the non-causal finite impulse response filter defined by hn n n 4 0 otherwise Consider the (arbitrary) discrete-time sequence xn Obtain the corresponding sequence x i n which is obtained by linearly interpolating the sequence xn by a factor of 5 according to the linear interpolation equation that is stated at the beginning of this problem. Implement the interpolation in the function interp_491.m that is provided. 2. Use the MATLAB function conv to show that the same interpolated result is indeed obtained by convolving the sequences x e n and hn defined immediately above. (b) Sketch hn in the time domain. Obtain an analytical expression for He j, the DTFT of hn by expressing hn as the convolution of two finite-duration rectangular functions. Obtain sketches of He j both using the MATLAB function dtft that you developed for Problem Set 2, and using the freqz function that is built into MATLAB.

9 Problem Set 6-9- Spring, 2019 (c) Note that the function hn is zero for values of n that are integer multiples of 5 and that He j is lowpass in nature. As we will see, the lowpass filter for interpolation by a factor of 5 (as is being done here) is an ideal lowpass filter with cutoff frequency 5. Compare the He j implied by linear interpolation of the time functions to this ideal lowpass filter. Please turn in the following to Gradescope: main_6_1.m, main_6_2.m, interp_491.m Answers to all the questions All plots that are requested

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.

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. PROBLEM SET 5 Issued: 2/4/9 Due: 2/22/9 Reading: During the past week we continued our discussion of the impact of pole/zero locations on frequency response, focusing on allpass systems, minimum and maximum-phase

More information

Chapter 9. Chapter 9 275

Chapter 9. Chapter 9 275 Chapter 9 Chapter 9: Multirate Digital Signal Processing... 76 9. Decimation... 76 9. Interpolation... 8 9.. Linear Interpolation... 85 9.. Sampling rate conversion by Non-integer factors... 86 9.. Illustration

More information

Multirate Digital Signal Processing

Multirate Digital Signal Processing Multirate Digital Signal Processing Basic Sampling Rate Alteration Devices Up-sampler - Used to increase the sampling rate by an integer factor Down-sampler - Used to increase the sampling rate by an integer

More information

ADSP ADSP ADSP ADSP. Advanced Digital Signal Processing (18-792) Spring Fall Semester, Department of Electrical and Computer Engineering

ADSP ADSP ADSP ADSP. Advanced Digital Signal Processing (18-792) Spring Fall Semester, Department of Electrical and Computer Engineering ADSP ADSP ADSP ADSP Advanced Digital Signal Processing (18-792) Spring Fall Semester, 201 2012 Department of Electrical and Computer Engineering PROBLEM SET 5 Issued: 9/27/18 Due: 10/3/18 Reminder: Quiz

More information

Multirate DSP, part 1: Upsampling and downsampling

Multirate DSP, part 1: Upsampling and downsampling Multirate DSP, part 1: Upsampling and downsampling Li Tan - April 21, 2008 Order this book today at www.elsevierdirect.com or by calling 1-800-545-2522 and receive an additional 20% discount. Use promotion

More information

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

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 Purdue University: ECE438 - Digital Signal Processing with Applications 1 ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 1 Introduction

More information

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

Sampling of Continuous-Time Signals. Reference chapter 4 in Oppenheim and Schafer. Sampling of Continuous-Time Signals Reference chapter 4 in Oppenheim and Schafer. Periodic Sampling of Continuous Signals T = sampling period fs = sampling frequency when expressing frequencies in radians

More information

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

Concordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu Concordia University Discrete-Time Signal Processing Lab Manual (ELEC442) Course Instructor: Dr. Wei-Ping Zhu Fall 2012 Lab 1: Linear Constant Coefficient Difference Equations (LCCDE) Objective In this

More information

Digital Signal Processing

Digital Signal Processing Digital Signal Processing Lecture 9 Discrete-Time Processing of Continuous-Time Signals Alp Ertürk alp.erturk@kocaeli.edu.tr Analog to Digital Conversion Most real life signals are analog signals These

More information

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

Lecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications EE4900/EE6720: Digital Communications 1 Lecture 3 Review of Signals and Systems: Part 2 Block Diagrams of Communication System Digital Communication System 2 Informatio n (sound, video, text, data, ) Transducer

More information

Final Exam Solutions June 14, 2006

Final Exam Solutions June 14, 2006 Name or 6-Digit Code: PSU Student ID Number: Final Exam Solutions June 14, 2006 ECE 223: Signals & Systems II Dr. McNames Keep your exam flat during the entire exam. If you have to leave the exam temporarily,

More information

Sampling and Signal Processing

Sampling and Signal Processing Sampling and Signal Processing Sampling Methods Sampling is most commonly done with two devices, the sample-and-hold (S/H) and the analog-to-digital-converter (ADC) The S/H acquires a continuous-time signal

More information

CS3291: Digital Signal Processing

CS3291: Digital Signal Processing CS39 Exam Jan 005 //08 /BMGC University of Manchester Department of Computer Science First Semester Year 3 Examination Paper CS39: Digital Signal Processing Date of Examination: January 005 Answer THREE

More information

Digital Processing of Continuous-Time Signals

Digital Processing of Continuous-Time Signals Chapter 4 Digital Processing of Continuous-Time Signals 清大電機系林嘉文 cwlin@ee.nthu.edu.tw 03-5731152 Original PowerPoint slides prepared by S. K. Mitra 4-1-1 Digital Processing of Continuous-Time Signals Digital

More information

Final Exam Solutions June 7, 2004

Final Exam Solutions June 7, 2004 Name: Final Exam Solutions June 7, 24 ECE 223: Signals & Systems II Dr. McNames Write your name above. Keep your exam flat during the entire exam period. If you have to leave the exam temporarily, close

More information

CMPT 318: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

CMPT 318: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals CMPT 318: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University January 16, 2006 1 Continuous vs. Discrete

More information

Digital Processing of

Digital Processing of Chapter 4 Digital Processing of Continuous-Time Signals 清大電機系林嘉文 cwlin@ee.nthu.edu.tw 03-5731152 Original PowerPoint slides prepared by S. K. Mitra 4-1-1 Digital Processing of Continuous-Time Signals Digital

More information

Continuous vs. Discrete signals. Sampling. Analog to Digital Conversion. CMPT 368: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

Continuous vs. Discrete signals. Sampling. Analog to Digital Conversion. CMPT 368: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals Continuous vs. Discrete signals CMPT 368: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University January 22,

More information

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

ECE 301, final exam of the session of Prof. Chih-Chun Wang Saturday 10:20am 12:20pm, December 20, 2008, STEW 130, ECE 301, final exam of the session of Prof. Chih-Chun Wang Saturday 10:20am 12:20pm, December 20, 2008, STEW 130, 1. Enter your name, student ID number, e-mail address, and signature in the space provided

More information

Music 270a: Fundamentals of Digital Audio and Discrete-Time Signals

Music 270a: Fundamentals of Digital Audio and Discrete-Time Signals Music 270a: Fundamentals of Digital Audio and Discrete-Time Signals Tamara Smyth, trsmyth@ucsd.edu Department of Music, University of California, San Diego October 3, 2016 1 Continuous vs. Discrete signals

More information

Lecture 7 Frequency Modulation

Lecture 7 Frequency Modulation Lecture 7 Frequency Modulation Fundamentals of Digital Signal Processing Spring, 2012 Wei-Ta Chu 2012/3/15 1 Time-Frequency Spectrum We have seen that a wide range of interesting waveforms can be synthesized

More information

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

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 Exam 1 February 3, 006 Each subquestion is worth 10 points. 1. Consider a periodic sawtooth waveform x(t) with period T 0 = 1 sec shown below: (c) x(n)= u(n). In this case, show that the output has the

More information

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

Digital Signal Processing Fourier Analysis of Continuous-Time Signals with the Discrete Fourier Transform 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:

More information

Sampling and Reconstruction of Analog Signals

Sampling and Reconstruction of Analog Signals Sampling and Reconstruction of Analog Signals Chapter Intended Learning Outcomes: (i) Ability to convert an analog signal to a discrete-time sequence via sampling (ii) Ability to construct an analog signal

More information

Laboratory Assignment 4. Fourier Sound Synthesis

Laboratory Assignment 4. Fourier Sound Synthesis Laboratory Assignment 4 Fourier Sound Synthesis PURPOSE This lab investigates how to use a computer to evaluate the Fourier series for periodic signals and to synthesize audio signals from Fourier series

More information

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

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title http://elec3004.com Digital Filters IIR (& Their Corresponding Analog Filters) 2017 School of Information Technology and Electrical Engineering at The University of Queensland Lecture Schedule: Week Date

More information

Discrete Fourier Transform (DFT)

Discrete Fourier Transform (DFT) Amplitude Amplitude Discrete Fourier Transform (DFT) DFT transforms the time domain signal samples to the frequency domain components. DFT Signal Spectrum Time Frequency DFT is often used to do frequency

More information

Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau

Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau (Also see: Lecture ADSP, Slides 06) In discrete, digital signal we use the normalized frequency, T = / f s =: it is without a

More information

Electrical & Computer Engineering Technology

Electrical & Computer Engineering Technology Electrical & Computer Engineering Technology EET 419C Digital Signal Processing Laboratory Experiments by Masood Ejaz Experiment # 1 Quantization of Analog Signals and Calculation of Quantized noise Objective:

More information

Experiments #6. Convolution and Linear Time Invariant Systems

Experiments #6. Convolution and Linear Time Invariant Systems Experiments #6 Convolution and Linear Time Invariant Systems 1) Introduction: In this lab we will explain how to use computer programs to perform a convolution operation on continuous time systems and

More information

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

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE) Code: 13A04602 R13 B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 (Common to ECE and EIE) PART A (Compulsory Question) 1 Answer the following: (10 X 02 = 20 Marks)

More information

ECE 5650/4650 Exam II November 20, 2018 Name:

ECE 5650/4650 Exam II November 20, 2018 Name: ECE 5650/4650 Exam II November 0, 08 Name: Take-Home Exam Honor Code This being a take-home exam a strict honor code is assumed. Each person is to do his/her own work. Bring any questions you have about

More information

Laboratory Assignment 5 Amplitude Modulation

Laboratory Assignment 5 Amplitude Modulation Laboratory Assignment 5 Amplitude Modulation PURPOSE In this assignment, you will explore the use of digital computers for the analysis, design, synthesis, and simulation of an amplitude modulation (AM)

More information

Final Exam Practice Questions for Music 421, with Solutions

Final Exam Practice Questions for Music 421, with Solutions Final Exam Practice Questions for Music 4, with Solutions Elementary Fourier Relationships. For the window w = [/,,/ ], what is (a) the dc magnitude of the window transform? + (b) the magnitude at half

More information

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

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL and COMPUTER ENGINEERING ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters Date: 19. Jul 2018 Pre-Lab: You should read the Pre-Lab section of

More information

ECE 429 / 529 Digital Signal Processing

ECE 429 / 529 Digital Signal Processing ECE 429 / 529 Course Policy & Syllabus R. N. Strickland SYLLABUS ECE 429 / 529 Digital Signal Processing SPRING 2009 I. Introduction DSP is concerned with the digital representation of signals and the

More information

Final Exam. EE313 Signals and Systems. Fall 1999, Prof. Brian L. Evans, Unique No

Final Exam. EE313 Signals and Systems. Fall 1999, Prof. Brian L. Evans, Unique No Final Exam EE313 Signals and Systems Fall 1999, Prof. Brian L. Evans, Unique No. 14510 December 11, 1999 The exam is scheduled to last 50 minutes. Open books and open notes. You may refer to your homework

More information

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. OpenCourseWare 2006

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. OpenCourseWare 2006 Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.341: Discrete-Time Signal Processing OpenCourseWare 2006 Lecture 6 Quantization and Oversampled Noise Shaping

More information

Design of FIR Filters

Design of FIR Filters Design of FIR Filters Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205 Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet, Dr. Malcolm Macleod and Prof. Peter Rayner 1 FIR as a

More information

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

SMS045 - DSP Systems in Practice. Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003 SMS045 - DSP Systems in Practice Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003 Lab Purpose This lab will introduce MATLAB as a tool for designing and evaluating digital

More information

Signal Processing for Speech Applications - Part 2-1. Signal Processing For Speech Applications - Part 2

Signal Processing for Speech Applications - Part 2-1. Signal Processing For Speech Applications - Part 2 Signal Processing for Speech Applications - Part 2-1 Signal Processing For Speech Applications - Part 2 May 14, 2013 Signal Processing for Speech Applications - Part 2-2 References Huang et al., Chapter

More information

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

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals Gerhard Schmidt Christian-Albrechts-Universität zu Kiel Faculty of Engineering Institute of Electrical Engineering

More information

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

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

More information

Multirate Filtering, Resampling Filters, Polyphase Filters. or how to make efficient FIR filters

Multirate Filtering, Resampling Filters, Polyphase Filters. or how to make efficient FIR filters Multirate Filtering, Resampling Filters, Polyphase Filters or how to make efficient FIR filters THE NOBLE IDENTITY 1 Efficient Implementation of Resampling filters H(z M ) M:1 M:1 H(z) Rule 1: Filtering

More information

Moving from continuous- to discrete-time

Moving from continuous- to discrete-time Moving from continuous- to discrete-time Sampling ideas Uniform, periodic sampling rate, e.g. CDs at 44.1KHz First we will need to consider periodic signals in order to appreciate how to interpret discrete-time

More information

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet Lecture 10: Summary Taneli Riihonen 16.05.2016 Lecture 10 in Course Book Sanjit K. Mitra, Digital Signal Processing: A Computer-Based Approach, 4th

More information

!"!#"#$% Lecture 2: Media Creation. Some materials taken from Prof. Yao Wang s slides RECAP

!!##$% Lecture 2: Media Creation. Some materials taken from Prof. Yao Wang s slides RECAP Lecture 2: Media Creation Some materials taken from Prof. Yao Wang s slides RECAP #% A Big Umbrella Content Creation: produce the media, compress it to a format that is portable/ deliverable Distribution:

More information

Project I: Phase Tracking and Baud Timing Correction Systems

Project I: Phase Tracking and Baud Timing Correction Systems Project I: Phase Tracking and Baud Timing Correction Systems ECES 631, Prof. John MacLaren Walsh, Ph. D. 1 Purpose In this lab you will encounter the utility of the fundamental Fourier and z-transform

More information

EE 422G - Signals and Systems Laboratory

EE 422G - Signals and Systems Laboratory EE 422G - Signals and Systems Laboratory Lab 3 FIR Filters Written by Kevin D. Donohue Department of Electrical and Computer Engineering University of Kentucky Lexington, KY 40506 September 19, 2015 Objectives:

More information

Islamic University of Gaza. Faculty of Engineering Electrical Engineering Department Spring-2011

Islamic University of Gaza. Faculty of Engineering Electrical Engineering Department Spring-2011 Islamic University of Gaza Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#4 Sampling and Quantization OBJECTIVES: When you have completed this assignment,

More information

Basic Signals and Systems

Basic Signals and Systems Chapter 2 Basic Signals and Systems A large part of this chapter is taken from: C.S. Burrus, J.H. McClellan, A.V. Oppenheim, T.W. Parks, R.W. Schafer, and H. W. Schüssler: Computer-based exercises for

More information

Signal Processing Toolbox

Signal Processing Toolbox Signal Processing Toolbox Perform signal processing, analysis, and algorithm development Signal Processing Toolbox provides industry-standard algorithms for analog and digital signal processing (DSP).

More information

ece 429/529 digital signal processing robin n. strickland ece dept, university of arizona ECE 429/529 RNS

ece 429/529 digital signal processing robin n. strickland ece dept, university of arizona ECE 429/529 RNS ece 429/529 digital signal processing robin n. strickland ece dept, university of arizona 2007 SPRING 2007 SCHEDULE All dates are tentative. Lesson Day Date Learning outcomes to be Topics Textbook HW/PROJECT

More information

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

THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA. Department of Electrical and Computer Engineering. ELEC 423 Digital Signal Processing THE CITADEL THE MILITARY COLLEGE OF SOUTH CAROLINA Department of Electrical and Computer Engineering ELEC 423 Digital Signal Processing Project 2 Due date: November 12 th, 2013 I) Introduction In ELEC

More information

Lecture Schedule: Week Date Lecture Title

Lecture Schedule: Week Date Lecture Title http://elec3004.org Sampling & More 2014 School of Information Technology and Electrical Engineering at The University of Queensland Lecture Schedule: Week Date Lecture Title 1 2-Mar Introduction 3-Mar

More information

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

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

More information

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

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises Digital Video and Audio Processing Winter term 2002/ 2003 Computer-based exercises Rudolf Mester Institut für Angewandte Physik Johann Wolfgang Goethe-Universität Frankfurt am Main 6th November 2002 Chapter

More information

Chapter 2: Digitization of Sound

Chapter 2: Digitization of Sound Chapter 2: Digitization of Sound Acoustics pressure waves are converted to electrical signals by use of a microphone. The output signal from the microphone is an analog signal, i.e., a continuous-valued

More information

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

Lecture 2 Review of Signals and Systems: Part 1. EE4900/EE6720 Digital Communications EE4900/EE6420: Digital Communications 1 Lecture 2 Review of Signals and Systems: Part 1 Block Diagrams of Communication System Digital Communication System 2 Informatio n (sound, video, text, data, ) Transducer

More information

Signals and Systems Lecture 6: Fourier Applications

Signals and Systems Lecture 6: Fourier Applications Signals and Systems Lecture 6: Fourier Applications Farzaneh Abdollahi Department of Electrical Engineering Amirkabir University of Technology Winter 2012 arzaneh Abdollahi Signal and Systems Lecture 6

More information

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3 NH 67, Karur Trichy Highways, Puliyur C.F, 639 114 Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3 IIR FILTER DESIGN Structure of IIR System design of Discrete time

More information

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

Signals. Continuous valued or discrete valued Can the signal take any value or only discrete values? Signals Continuous time or discrete time Is the signal continuous or sampled in time? Continuous valued or discrete valued Can the signal take any value or only discrete values? Deterministic versus random

More information

Discrete-Time Signal Processing (DTSP) v14

Discrete-Time Signal Processing (DTSP) v14 EE 392 Laboratory 5-1 Discrete-Time Signal Processing (DTSP) v14 Safety - Voltages used here are less than 15 V and normally do not present a risk of shock. Objective: To study impulse response and the

More information

EECS 452 Midterm Exam (solns) Fall 2012

EECS 452 Midterm Exam (solns) Fall 2012 EECS 452 Midterm Exam (solns) Fall 2012 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. Scores: # Points Section I /40 Section

More information

Module 9: Multirate Digital Signal Processing Prof. Eliathamby Ambikairajah Dr. Tharmarajah Thiruvaran School of Electrical Engineering &

Module 9: Multirate Digital Signal Processing Prof. Eliathamby Ambikairajah Dr. Tharmarajah Thiruvaran School of Electrical Engineering & odule 9: ultirate Digital Signal Processing Prof. Eliathamby Ambikairajah Dr. Tharmarajah Thiruvaran School of Electrical Engineering & Telecommunications The University of New South Wales Australia ultirate

More information

Module 3 : Sampling and Reconstruction Problem Set 3

Module 3 : Sampling and Reconstruction Problem Set 3 Module 3 : Sampling and Reconstruction Problem Set 3 Problem 1 Shown in figure below is a system in which the sampling signal is an impulse train with alternating sign. The sampling signal p(t), the Fourier

More information

Experiment 6: Multirate Signal Processing

Experiment 6: Multirate Signal Processing ECE431, Experiment 6, 2018 Communications Lab, University of Toronto Experiment 6: Multirate Signal Processing Bruno Korst - bkf@comm.utoronto.ca Abstract In this experiment, you will use decimation and

More information

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

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

More information

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters Islamic University of Gaza OBJECTIVES: Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters To demonstrate the concept

More information

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT Filter Banks I Prof. Dr. Gerald Schuller Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany 1 Structure of perceptual Audio Coders Encoder Decoder 2 Filter Banks essential element of most

More information

AUDL Final exam page 1/7 Please answer all of the following questions.

AUDL Final exam page 1/7 Please answer all of the following questions. AUDL 11 28 Final exam page 1/7 Please answer all of the following questions. 1) Consider 8 harmonics of a sawtooth wave which has a fundamental period of 1 ms and a fundamental component with a level of

More information

EE 230 Lecture 39. Data Converters. Time and Amplitude Quantization

EE 230 Lecture 39. Data Converters. Time and Amplitude Quantization EE 230 Lecture 39 Data Converters Time and Amplitude Quantization Review from Last Time: Time Quantization How often must a signal be sampled so that enough information about the original signal is available

More information

Signal Processing. Introduction

Signal Processing. Introduction Signal Processing 0 Introduction One of the premiere uses of MATLAB is in the analysis of signal processing and control systems. In this chapter we consider signal processing. The final chapter of the

More information

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP DIGITAL FILTERS!! Finite Impulse Response (FIR)!! Infinite Impulse Response (IIR)!! Background!! Matlab functions 1!! Only the magnitude approximation problem!! Four basic types of ideal filters with magnitude

More information

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

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS. Lecture 8 Today: Announcements: References: FIR filter design IIR filter design Filter roundoff and overflow sensitivity Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations

More information

! Multi-Rate Filter Banks (con t) ! Data Converters. " Anti-aliasing " ADC. " Practical DAC. ! Noise Shaping

! Multi-Rate Filter Banks (con t) ! Data Converters.  Anti-aliasing  ADC.  Practical DAC. ! Noise Shaping Lecture Outline ESE 531: Digital Signal Processing! (con t)! Data Converters Lec 11: February 16th, 2017 Data Converters, Noise Shaping " Anti-aliasing " ADC " Quantization "! Noise Shaping 2! Use filter

More information

Signals and Systems. Lecture 13 Wednesday 6 th December 2017 DR TANIA STATHAKI

Signals and Systems. Lecture 13 Wednesday 6 th December 2017 DR TANIA STATHAKI Signals and Systems Lecture 13 Wednesday 6 th December 2017 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL COLLEGE LONDON Continuous time versus discrete time Continuous time

More information

Signal Processing Summary

Signal Processing Summary Signal Processing Summary Jan Černocký, Valentina Hubeika {cernocky,ihubeika}@fit.vutbr.cz DCGM FIT BUT Brno, ihubeika@fit.vutbr.cz FIT BUT Brno Signal Processing Summary Jan Černocký, Valentina Hubeika,

More information

ELEC3104: Digital Signal Processing Session 1, 2013

ELEC3104: Digital Signal Processing Session 1, 2013 ELEC3104: Digital Signal Processing Session 1, 2013 The University of New South Wales School of Electrical Engineering and Telecommunications LABORATORY 4: DIGITAL FILTERS INTRODUCTION In this laboratory,

More information

DFT: Discrete Fourier Transform & Linear Signal Processing

DFT: Discrete Fourier Transform & Linear Signal Processing DFT: Discrete Fourier Transform & Linear Signal Processing 2 nd Year Electronics Lab IMPERIAL COLLEGE LONDON Table of Contents Equipment... 2 Aims... 2 Objectives... 2 Recommended Textbooks... 3 Recommended

More information

DISCRETE FOURIER TRANSFORM AND FILTER DESIGN

DISCRETE FOURIER TRANSFORM AND FILTER DESIGN DISCRETE FOURIER TRANSFORM AND FILTER DESIGN N. C. State University CSC557 Multimedia Computing and Networking Fall 2001 Lecture # 03 Spectrum of a Square Wave 2 Results of Some Filters 3 Notation 4 x[n]

More information

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam Date: December 18, 2017 Course: EE 313 Evans Name: Last, First The exam is scheduled to last three hours. Open

More information

EE 311 February 13 and 15, 2019 Lecture 10

EE 311 February 13 and 15, 2019 Lecture 10 EE 311 February 13 and 15, 219 Lecture 1 Figure 4.22 The top figure shows a quantized sinusoid as the darker stair stepped curve. The bottom figure shows the quantization error. The quantized signal to

More information

SAMPLING THEORY. Representing continuous signals with discrete numbers

SAMPLING THEORY. Representing continuous signals with discrete numbers SAMPLING THEORY Representing continuous signals with discrete numbers Roger B. Dannenberg Professor of Computer Science, Art, and Music Carnegie Mellon University ICM Week 3 Copyright 2002-2013 by Roger

More information

Digital Filters FIR and IIR Systems

Digital Filters FIR and IIR Systems Digital Filters FIR and IIR Systems ELEC 3004: Systems: Signals & Controls Dr. Surya Singh (Some material adapted from courses by Russ Tedrake and Elena Punskaya) Lecture 16 elec3004@itee.uq.edu.au http://robotics.itee.uq.edu.au/~elec3004/

More information

Frequency Domain Representation of Signals

Frequency Domain Representation of Signals Frequency Domain Representation of Signals The Discrete Fourier Transform (DFT) of a sampled time domain waveform x n x 0, x 1,..., x 1 is a set of Fourier Coefficients whose samples are 1 n0 X k X0, X

More information

Experiment 8: Sampling

Experiment 8: Sampling Prepared By: 1 Experiment 8: Sampling Objective The objective of this Lab is to understand concepts and observe the effects of periodically sampling a continuous signal at different sampling rates, changing

More information

Lab 4 Digital Scope and Spectrum Analyzer

Lab 4 Digital Scope and Spectrum Analyzer Lab 4 Digital Scope and Spectrum Analyzer Page 4.1 Lab 4 Digital Scope and Spectrum Analyzer Goals Review Starter files Interface a microphone and record sounds, Design and implement an analog HPF, LPF

More information

EE 438 Final Exam Spring 2000

EE 438 Final Exam Spring 2000 2 May 2000 Name: EE 438 Final Exam Spring 2000 You have 120 minutes to work the following six problems. Each problem is worth 25 points. Be sure to show all your work to obtain full credit. The exam is

More information

Signal processing preliminaries

Signal processing preliminaries Signal processing preliminaries ISMIR Graduate School, October 4th-9th, 2004 Contents: Digital audio signals Fourier transform Spectrum estimation Filters Signal Proc. 2 1 Digital signals Advantages of

More information

Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback

Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback PURPOSE This lab will introduce you to the laboratory equipment and the software that allows you to link your computer to the hardware.

More information

Subtractive Synthesis. Describing a Filter. Filters. CMPT 468: Subtractive Synthesis

Subtractive Synthesis. Describing a Filter. Filters. CMPT 468: Subtractive Synthesis Subtractive Synthesis CMPT 468: Subtractive Synthesis Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University November, 23 Additive synthesis involves building the sound by

More information

Fourier Transform Analysis of Signals and Systems

Fourier Transform Analysis of Signals and Systems Fourier Transform Analysis of Signals and Systems Ideal Filters Filters separate what is desired from what is not desired In the signals and systems context a filter separates signals in one frequency

More information

ESE 531: Digital Signal Processing

ESE 531: Digital Signal Processing ESE 531: Digital Signal Processing Lec 10: February 15th, 2018 Practical and Non-integer Sampling, Multirate Sampling Signals and Systems Review 3 Lecture Outline! Review: Downsampling/Upsampling! Non-integer

More information

Lecture 3, Multirate Signal Processing

Lecture 3, Multirate Signal Processing Lecture 3, Multirate Signal Processing Frequency Response If we have coefficients of an Finite Impulse Response (FIR) filter h, or in general the impulse response, its frequency response becomes (using

More information

Signals and Systems Using MATLAB

Signals and Systems Using MATLAB Signals and Systems Using MATLAB Second Edition Luis F. Chaparro Department of Electrical and Computer Engineering University of Pittsburgh Pittsburgh, PA, USA AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK

More information

MATLAB for Audio Signal Processing. P. Professorson UT Arlington Night School

MATLAB for Audio Signal Processing. P. Professorson UT Arlington Night School MATLAB for Audio Signal Processing P. Professorson UT Arlington Night School MATLAB for Audio Signal Processing Getting real world data into your computer Analysis based on frequency content Fourier analysis

More information

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

Topic 2. Signal Processing Review. (Some slides are adapted from Bryan Pardo s course slides on Machine Perception of Music) Topic 2 Signal Processing Review (Some slides are adapted from Bryan Pardo s course slides on Machine Perception of Music) Recording Sound Mechanical Vibration Pressure Waves Motion->Voltage Transducer

More information

ESE 531: Digital Signal Processing

ESE 531: Digital Signal Processing ESE 531: Digital Signal Processing Lec 10: February 14th, 2017 Practical and Non-integer Sampling, Multirate Sampling Lecture Outline! Downsampling/Upsampling! Practical Interpolation! Non-integer Resampling!

More information

Signals and Systems Lecture 6: Fourier Applications

Signals and Systems Lecture 6: Fourier Applications Signals and Systems Lecture 6: Fourier Applications Farzaneh Abdollahi Department of Electrical Engineering Amirkabir University of Technology Winter 2012 arzaneh Abdollahi Signal and Systems Lecture 6

More information