MAE143A Signals & Systems - Homework 9, Winter 2015 due by the end of class Friday March 13, 2015.

Size: px
Start display at page:

Download "MAE143A Signals & Systems - Homework 9, Winter 2015 due by the end of class Friday March 13, 2015."

Transcription

1 MAEA Signals & Systems - Homework 9, Winter due by the end of class Friday March,. Question Three audio files have been placed on the class website: Waits.wav, WaitsAliased.wav, WaitsDecimated.wav. These are excerpts of Tom Waits song that we played in class. The first is, samples taken at. khz. The second and third are the same segments downsampled and decimated by a factor of 8. Read these into matlab using the command audioread: e.g. x=audioread( Waits.wav ); I have included a single channel of the stereo recording. (a) Examine the size of each vector and use the sound command to verify that you have the correct sample rates and sizes. (b) Plot each of the three signals and develop the correct time axis in seconds for each plot. (c) Compute the DFT of each signal using the fft command. Verify the sizes of the DFTs also verify the conjugate symmetry. (d) For each signal, plot the absolute value of the DFT and label the axes correctly in Hertz. (e) Using the plot function, rather than just zoom, plot the piece of the DFT of the original signal in Waits.wav which corresponds exactly to the frequencies in the other two signals. (f) Using this partial plot of the original signals DFT and the two other DFT plots, explain what you these frequency domain plots tell you about the signals and their sounds. (g) Try to construct a digital lowpass filter with cutoff frequency.9 using some of the filter design functions. [Omit the s in the argument list to get a digital filter. The.9 says the db point should be at.9 times the Nyquist frequency.] Then use the filter command to lowpass filter the aliased signal. Replot the absolute value of this signal s DFT and compare it to that of the decimated signal. Listen to the new signal and verify that aliasing has not been removed by the lowpass filtering. (h) Try to build a bandpass filter to extract the part of the sound signal between khz and khz. Listen to and describe this to see which is the part of the song which is most heavily aliased. (a) The audio signal and its sample rate can be obtained using audio read. For example [or,fs] = audioread( Waits.wav ); will return the data samples of the original audio signal, or, and its sample rate, Fs, which is.khz. To play the excerpts, use sound with the appropriate sample rate. Next, use size to examine the size of the data signals. The aliased frequency content sounds distorted. This is because this is simply the downsampled version of the original without any anti-aliasing being used. Whereas in the decimated signal,

2 the signal is created by decimate which applies an appropriate lowpass filter before downsampling the original signal. The frequency content is reduced by eightfold without aliasing. Below is matlab code: % Part (a) [or,fs] = audioread( Waits.wav );% the original [ds,fs] = audioread( WaitsAliased.wav );% the downsampled dc = audioread( WaitsDecimated.wav );% the decimated [nor, ] = size(or); %determine the size [nds, ] = size(ds); [ndc, ] = size(dc); sound(or,fs) % play back with appropriate sample rate sound(ds,fs) sound(dc,fs) (b) Time axis can be constructed from the data size and the sample rate. Figure,, are the plots of the signals with the correct time axis.. Plot of the original signal.. Signal (units) Time (s) Figure : Plot of the original signal matlab code: % Part (b) ts = /Fs:/Fs:nor/Fs; % time axis of the original ts = /Fs:/Fs:nds/Fs; % time axis of the other versions figure() plot(ts,or)

3 . Plot of the downsampled signal.. Signal (units) Time (s) Figure : Plot of the aliased signal title( Plot of the original signal ); xlabel( Time (s) );ylabel( Signal (units) ); figure() plot(ts,ds) title( Plot of the downsampled signal ); xlabel( Time (s) );ylabel( Signal (units) ); figure() plot(ts,dc) title( Plot of the decimated signal ); xlabel( Time (s) );ylabel( Signal (units) ); (c) After using fft on the signals, the conjugate symmetry happens about the midpoint of the output of fft. This can be verify by inspecting some elements of the DFT of the data around the midpoint using the code below: % Part (c) f_or = fft(or);f_ds = fft(ds);f_dc = fft(dc); [L_or, ] = size(f_or); %size of, symmetric around sample # x = f_or(9999:); %examine a small segment of f_or around # [L_ds, ] = size(f_ds); %size of, symmetric around sample # y = f_ds(9:); %examine a small segment of f_or around # where x =. -.i

4 . Plot of the decimated signal.. Signal (units) Time (s). -.8i.8 -.8i. +.i. +.i. +.i. +.i. -.i. -.i. -.i.8 +.8i. +.8i. +.i Figure : Plot of the decimated signal which verifies the conjugate symmetry. Note that the midpoint is a real-valued number, which is the complex conjugate of itself. (d) Figures,, are the single-sided spectra of the signals with x-axes in Hertz using below code: % Part (d): requires single-sided DFT and x-axis being Hertz. % Use next power of from length of the signal for fft to be efficient N = ˆnextpow(L_or); % next power of from the length of the original N = ˆnextpow(L_ds); % next power of from the length of the others or_fft = fft(or,n)/l_or; %produce N-point DFT of the original f = Fs/*linspace(,,N/+);%frequency axis of the original ds_fft = fft(ds,n)/l_ds; %produce N-point DFT of the downsampled f = Fs/*linspace(,,N/+); dc_fft = fft(dc,n)/l_ds; %produce N-point DFT of the decimated

5 # - Single-sided magnitude spectrum of the orginal signal... # Figure : Single-sided spectrum of the original signal %since N>L, signals will be padded with zeros to length N before fft figure() stem(f,*abs(or_fft(:n/+))) title( Single-sided magnitude spectrum of the orginal signal ); figure() stem(f,*abs(ds_fft(:n/+))) title( Single-sided magnitude spectrum of the downsampled signal ); figure() stem(f,*abs(dc_fft(:n/+))) title( Single-sided magnitude spectrum of the decimated signal ); (e) The frequency content of the decimated and aliased signals is from Hz to.hz (half of their sampling frequency). The portion of the DFT of the original from Hz to.hz is plotted in Figure using the below code: % Part(e) %Freq content in the other signals is [,Fs/]Hz, ie [,Fs/]Hz %The portion of the original corresponding to the above range %is from [,Fs/]Hz in the single-sided DFT in Fig above %Then the plot should have range from point to end/8 %of the original DFT plot, because in Fig the freq range is [,Fs/]H figure()

6 # - Single-sided magnitude spectrum of the downsampled signal Figure : Single-sided spectrum of the aliased signal f = f(:end/8);% freq range stem(f,*abs(or_fft(:(n/+)/8))) title( Spectrum of the original: freq range similar to the other signals (f) Look at Figure,, to compare the sounds of the signals. In the DFT plot of the decimated signal, the effect of the lowpass filter before the downsampling stage in decimate is clearly shown by the reduced magnitude in the high frequency content, when compared to the DFT plot of the original signal. In the high frequency range (around Hz onward) of the aliased signal, the DFT magnitude is actually bigger than that of the original signal. This is an indication of aliasing as a result of downsampling the signal without using an anti-aliasing filter in the case of the aliased sound sample. Here the higher frequencies (beyond half of the sample rate) are masquerading as lower frequencies, and their magnitude adds to that of the lower frequencies. As mentioned above, the decimated signal has been lowpass filtered before being downsampled, which eliminates aliasing in the high frequency content. (g) Figure 8 is the DFT of the aliased signal after it has been filtered by a Butterworth lowpass filter. As seen in this figure, the high frequency content of this filtered signal has been suppressed. But by listening to the signal, aliasing is still present in the form of high frequency distortion. Once aliasing has been introduced, it cannot be removed. matlab code is below: % Part(g) [num,den] = butter(,.9);% cutoff (-db) at.9fs/ Hz ds_filtered = filter(num,den,ds); ds_filtered_fft = fft(ds_filtered,n)/l_ds;

7 # - Single-sided magnitude spectrum of the decimated signal Figure : Single-sided spectrum of the decimated signal figure(8) stem(f,*abs(ds_filtered_fft(:n/+))) title( Single-sided spectrum of the filtered downsampled signal ); (h) The frequency content of the original signal above around.khz is aliased in the aliased signal as expected earlier due to the much slower sample rate. This can be verified sonically by listening to the frequency range of the original from khz to khz using a Butterworth bandpass filter, and compare it to the aliased signal. matlab code below: % Part(h) [num,den] = butter(,[ ]/(Fs/)); %bandpass filter khz & kh or_bp = filter(num,den,or); %plot DFT to see if filter really works or_bp_fft = fft(or_bp,n)/l_or; figure(9) stem(f,*abs(or_bp_fft(:n/+))) title( Single-sided spectrum of the bandpass filtered original );

8 # - Spectrum of the original: freq range similar to the other signals Figure : Part of spectrum of the original corresponding to the frequency content of the other two signals. # - Single-sided spectrum of the filtered downsampled signal Figure 8: Spectrum of the aliased signal after having been lowpass filtered.

C.11 Sampling and Aliasing Solution

C.11 Sampling and Aliasing Solution 158 APPENDIX C. LABORATORY EXERCISES SOLUTIONS C.11 Sampling and Aliasing Solution C.11.1 In-lab section 1. To get a frequency sweep from to 12 khz in seconds we need to choose f so that 2ft = when t =.

More information

ECE 2713 Design Project Solution

ECE 2713 Design Project Solution ECE 2713 Design Project Solution Spring 218 Dr. Havlicek 1. (a) Matlab code: ---------------------------------------------------------- P1a Make a 2 second digital audio signal that contains a pure cosine

More information

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

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems. 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

More information

Waveforms and Spectra in NBFM Receiver

Waveforms and Spectra in NBFM Receiver Waveforms and Spectra in NBFM Receiver GNU radio was used to create the following NBFM receiver. The USRP with the RFX400 daughterboard was used to capture the signal. 64Ms/s 256Ks/s 32Ks/s 32Ks/s FPGA

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

Figure 1: Block diagram of Digital signal processing

Figure 1: Block diagram of Digital signal processing Experiment 3. Digital Process of Continuous Time Signal. Introduction Discrete time signal processing algorithms are being used to process naturally occurring analog signals (like speech, music and images).

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

IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters

IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters (ii) Ability to design lowpass IIR filters according to predefined specifications based on analog

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

George Mason University Signals and Systems I Spring 2016

George Mason University Signals and Systems I Spring 2016 George Mason University Signals and Systems I Spring 2016 Laboratory Project #4 Assigned: Week of March 14, 2016 Due Date: Laboratory Section, Week of April 4, 2016 Report Format and Guidelines for Laboratory

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

ECEGR Lab #8: Introduction to Simulink

ECEGR Lab #8: Introduction to Simulink Page 1 ECEGR 317 - Lab #8: Introduction to Simulink Objective: By: Joe McMichael This lab is an introduction to Simulink. The student will become familiar with the Help menu, go through a short example,

More information

EECE 323 Fundamentals of Digital Signal Processing. Spring Section A. Practical Homework MATLAB Application on Aliasing and Antialiasing

EECE 323 Fundamentals of Digital Signal Processing. Spring Section A. Practical Homework MATLAB Application on Aliasing and Antialiasing EECE 323 Fundamentals of Digital Signal Processing Spring 2013 Section A Practical Homework MATLAB Application on Aliasing and Antialiasing Student Name: Sharbel Dahlan ID: 1004018456 Instructor: Dr. Jinane

More information

Sound synthesis with Pure Data

Sound synthesis with Pure Data Sound synthesis with Pure Data 1. Start Pure Data from the programs menu in classroom TC307. You should get the following window: The DSP check box switches sound output on and off. Getting sound out First,

More information

ECE 3793 Matlab Project 4

ECE 3793 Matlab Project 4 ECE 3793 Matlab Project 4 Spring 2017 Dr. Havlicek DUE: 5/3/2017, 11:59 PM What to Turn In: Make one file that contains your solution for this assignment. It can be an MS WORD file or a PDF file. For Problem

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

ELT COMMUNICATION THEORY

ELT COMMUNICATION THEORY ELT 41307 COMMUNICATION THEORY Matlab Exercise #1 Sampling, Fourier transform, Spectral illustrations, and Linear filtering 1 SAMPLING The modeled signals and systems in this course are mostly analog (continuous

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

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

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

BIOE 198MI Biomedical Data Analysis. Spring Semester Lab6: Signal processing and filter design

BIOE 198MI Biomedical Data Analysis. Spring Semester Lab6: Signal processing and filter design BIOE 198MI Biomedical Data Analysis. Spring Semester 2018. Lab6: Signal processing and filter design Problem Statement: In this lab, we are considering the problem of designing a window-based digital filter

More information

Distortion Analysis T S. 2 N for all k not defined above. THEOREM?: If N P is an integer and x(t) is band limited to f MAX, then

Distortion Analysis T S. 2 N for all k not defined above. THEOREM?: If N P is an integer and x(t) is band limited to f MAX, then EE 505 Lecture 6 Spectral Analysis in Spectre - Standard transient analysis - Strobe period transient analysis Addressing Spectral Analysis Challenges Problem Awareness Windowing Post-processing . Review

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

Discrete Fourier Transform

Discrete Fourier Transform 6 The Discrete Fourier Transform Lab Objective: The analysis of periodic functions has many applications in pure and applied mathematics, especially in settings dealing with sound waves. The Fourier transform

More information

Signal Processing. Naureen Ghani. December 9, 2017

Signal Processing. Naureen Ghani. December 9, 2017 Signal Processing Naureen Ghani December 9, 27 Introduction Signal processing is used to enhance signal components in noisy measurements. It is especially important in analyzing time-series data in neuroscience.

More information

Princeton ELE 201, Spring 2014 Laboratory No. 2 Shazam

Princeton ELE 201, Spring 2014 Laboratory No. 2 Shazam Princeton ELE 201, Spring 2014 Laboratory No. 2 Shazam 1 Background In this lab we will begin to code a Shazam-like program to identify a short clip of music using a database of songs. The basic procedure

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

EECS 452 Midterm Exam Winter 2012

EECS 452 Midterm Exam Winter 2012 EECS 452 Midterm Exam Winter 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 II

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

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

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

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

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

Build Your Own Bose WaveRadio Bass Preamp Active Filter Design

Build Your Own Bose WaveRadio Bass Preamp Active Filter Design EE230 Filter Laboratory Build Your Own Bose WaveRadio Bass Preamp Active Filter Design Objectives 1) Design an active filter on paper to meet a particular specification 2) Verify your design using Spice

More information

EECS 452 Midterm Closed book part Winter 2013

EECS 452 Midterm Closed book part Winter 2013 EECS 452 Midterm Closed book part Winter 2013 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 Closed book

More information

EBU5375 Signals and Systems: Filtering and sampling in Matlab. Dr Jesús Requena Carrión

EBU5375 Signals and Systems: Filtering and sampling in Matlab. Dr Jesús Requena Carrión EBU5375 Signals and Systems: Filtering and sampling in Matlab Dr Jesús Requena Carrión Background: Ideal filters We have learnt three types of filters: lowpass, highpass and bandpass filters. We represent

More information

Introduction to Simulink

Introduction to Simulink EE 460 Introduction to Communication Systems MATLAB Tutorial #3 Introduction to Simulink This tutorial provides an overview of Simulink. It also describes the use of the FFT Scope and the filter design

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

Laboration Exercises in Digital Signal Processing

Laboration Exercises in Digital Signal Processing Laboration Exercises in Digital Signal Processing Mikael Swartling Department of Electrical and Information Technology Lund Institute of Technology revision 215 Introduction Introduction The traditional

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

MAE143A Signals & Systems - Homework 8, Winter 2013 due by the end of class Tuesday March 5, 2013.

MAE143A Signals & Systems - Homework 8, Winter 2013 due by the end of class Tuesday March 5, 2013. MAE43A Signals & Systems - Homework 8, Winter 3 due by the end of class uesday March 5, 3. Question Measuring frequency responses Before we begin to measure frequency responses, we need a little theory...

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

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS INTRODUCTION The objective of this lab is to explore many issues involved in sampling and reconstructing signals, including analysis of the frequency

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

Processor Setting Fundamentals -or- What Is the Crossover Point?

Processor Setting Fundamentals -or- What Is the Crossover Point? The Law of Physics / The Art of Listening Processor Setting Fundamentals -or- What Is the Crossover Point? Nathan Butler Design Engineer, EAW There are many misconceptions about what a crossover is, and

More information

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

ESE 150 Lab 04: The Discrete Fourier Transform (DFT) LAB 04 In this lab we will do the following: 1. Use Matlab to perform the Fourier Transform on sampled data in the time domain, converting it to the frequency domain 2. Add two sinewaves together of differing

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 1: INTRODUCTION TO TIMS AND MATLAB INTRODUCTION

More information

SP.718 Special Topics at Edgerton Center: D-Lab Health: Medical Technologies for the Developing World

SP.718 Special Topics at Edgerton Center: D-Lab Health: Medical Technologies for the Developing World MIT OpenCourseWare http://ocw.mit.edu SP.718 Special Topics at Edgerton Center: D-Lab Health: Medical Technologies for the Developing World Spring 2009 For information about citing these materials or our

More information

EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM

EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM Department of Electrical and Computer Engineering Missouri University of Science and Technology Page 1 Table of Contents Introduction...Page

More information

Project 0: Part 2 A second hands-on lab on Speech Processing Frequency-domain processing

Project 0: Part 2 A second hands-on lab on Speech Processing Frequency-domain processing Project : Part 2 A second hands-on lab on Speech Processing Frequency-domain processing February 24, 217 During this lab, you will have a first contact on frequency domain analysis of speech signals. You

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

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

ESE 150 Lab 04: The Discrete Fourier Transform (DFT) LAB 04 In this lab we will do the following: 1. Use Matlab to perform the Fourier Transform on sampled data in the time domain, converting it to the frequency domain 2. Add two sinewaves together of differing

More information

PART I: The questions in Part I refer to the aliasing portion of the procedure as outlined in the lab manual.

PART I: The questions in Part I refer to the aliasing portion of the procedure as outlined in the lab manual. Lab. #1 Signal Processing & Spectral Analysis Name: Date: Section / Group: NOTE: To help you correctly answer many of the following questions, it may be useful to actually run the cases outlined in the

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

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

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

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

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

Armstrong Atlantic State University Engineering Studies MATLAB Marina Sound Processing Primer

Armstrong Atlantic State University Engineering Studies MATLAB Marina Sound Processing Primer Armstrong Atlantic State University Engineering Studies MATLAB Marina Sound Processing Primer Prerequisites The Sound Processing Primer assumes knowledge of the MATLAB IDE, MATLAB help, arithmetic operations,

More information

Set-up. Equipment required: Your issued Laptop MATLAB ( if you don t already have it on your laptop)

Set-up. Equipment required: Your issued Laptop MATLAB ( if you don t already have it on your laptop) All signals found in nature are analog they re smooth and continuously varying, from the sound of an orchestra to the acceleration of your car to the clouds moving through the sky. An excerpt from http://www.netguru.net/ntc/ntcc5.htm

More information

Plot frequency response around the unit circle above the Z-plane.

Plot frequency response around the unit circle above the Z-plane. There s No End to It -- Matlab Code Plots Frequency Response above the Unit Circle Reference [] has some 3D plots of frequency response magnitude above the unit circle in the Z-plane. I liked them enough

More information

Data Analysis in MATLAB Lab 1: The speed limit of the nervous system (comparative conduction velocity)

Data Analysis in MATLAB Lab 1: The speed limit of the nervous system (comparative conduction velocity) Data Analysis in MATLAB Lab 1: The speed limit of the nervous system (comparative conduction velocity) Importing Data into MATLAB Change your Current Folder to the folder where your data is located. Import

More information

Signal Analysis. Young Won Lim 2/10/18

Signal Analysis. Young Won Lim 2/10/18 Signal Analysis Copyright (c) 2016 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later

More information

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class Description In this project, MATLAB and Simulink are used to construct a system experiment. The experiment

More information

A102 Signals and Systems for Hearing and Speech: Final exam answers

A102 Signals and Systems for Hearing and Speech: Final exam answers A12 Signals and Systems for Hearing and Speech: Final exam answers 1) Take two sinusoids of 4 khz, both with a phase of. One has a peak level of.8 Pa while the other has a peak level of. Pa. Draw the spectrum

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

Understanding Digital Signal Processing

Understanding Digital Signal Processing Understanding Digital Signal Processing Richard G. Lyons PRENTICE HALL PTR PRENTICE HALL Professional Technical Reference Upper Saddle River, New Jersey 07458 www.photr,com Contents Preface xi 1 DISCRETE

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

Log Booklet for EE2 Experiments

Log Booklet for EE2 Experiments Log Booklet for EE2 Experiments Vasil Zlatanov DFT experiment Exercise 1 Code for sinegen.m function y = sinegen(fsamp, fsig, nsamp) tsamp = 1/fsamp; t = 0 : tsamp : (nsamp-1)*tsamp; y = sin(2*pi*fsig*t);

More information

EE 422G - Signals and Systems Laboratory

EE 422G - Signals and Systems Laboratory EE 422G - Signals and Systems Laboratory Lab 5 Filter Applications Kevin D. Donohue Department of Electrical and Computer Engineering University of Kentucky Lexington, KY 40506 February 18, 2014 Objectives:

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

Knowledge Integration Module 2 Fall 2016

Knowledge Integration Module 2 Fall 2016 Knowledge Integration Module 2 Fall 2016 1 Basic Information: The knowledge integration module 2 or KI-2 is a vehicle to help you better grasp the commonality and correlations between concepts covered

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

Problem Set 1 (Solutions are due Mon )

Problem Set 1 (Solutions are due Mon ) ECEN 242 Wireless Electronics for Communication Spring 212 1-23-12 P. Mathys Problem Set 1 (Solutions are due Mon. 1-3-12) 1 Introduction The goals of this problem set are to use Matlab to generate and

More information

DSP First. Laboratory Exercise #11. Extracting Frequencies of Musical Tones

DSP First. Laboratory Exercise #11. Extracting Frequencies of Musical Tones DSP First Laboratory Exercise #11 Extracting Frequencies of Musical Tones This lab is built around a single project that involves the implementation of a system for automatically writing a musical score

More information

Signal Analysis. Young Won Lim 2/9/18

Signal Analysis. Young Won Lim 2/9/18 Signal Analysis Copyright (c) 2016 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later

More information

EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY

EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY NAME:. STUDENT ID:.. ROOM: INTRODUCTION TO AMPLITUDE MODULATION Purpose: The objectives of this laboratory are:. To introduce the spectrum

More information

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window:

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window: Window Method We have seen that in the design of FIR filters, Gibbs oscillations are produced in the passband and stopband, which are not desirable features of the FIR filter. To solve this problem, window

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

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

Appendix B. Design Implementation Description For The Digital Frequency Demodulator

Appendix B. Design Implementation Description For The Digital Frequency Demodulator Appendix B Design Implementation Description For The Digital Frequency Demodulator The DFD design implementation is divided into four sections: 1. Analog front end to signal condition and digitize the

More information

ECE503 Homework Assignment Number 8 Solution

ECE503 Homework Assignment Number 8 Solution ECE53 Homework Assignment Number 8 Solution 1. 3 points. Recall that an analog integrator has transfer function H a (s) = 1 s. Use the bilinear transform to find the digital transfer function G(z) from

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

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

DSP First. Laboratory Exercise #7. Everyday Sinusoidal Signals

DSP First. Laboratory Exercise #7. Everyday Sinusoidal Signals DSP First Laboratory Exercise #7 Everyday Sinusoidal Signals This lab introduces two practical applications where sinusoidal signals are used to transmit information: a touch-tone dialer and amplitude

More information

ECEn 487 Digital Signal Processing Laboratory. Lab 3 FFT-based Spectrum Analyzer

ECEn 487 Digital Signal Processing Laboratory. Lab 3 FFT-based Spectrum Analyzer ECEn 487 Digital Signal Processing Laboratory Lab 3 FFT-based Spectrum Analyzer Due Dates This is a three week lab. All TA check off must be completed by Friday, March 14, at 3 PM or the lab will be marked

More information

2.161 Signal Processing: Continuous and Discrete

2.161 Signal Processing: Continuous and Discrete MIT OpenCourseWare http://ocw.mit.edu 2.6 Signal Processing: Continuous and Discrete Fall 28 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. MASSACHUSETTS

More information

Butterworth Active Bandpass Filter using Sallen-Key Topology

Butterworth Active Bandpass Filter using Sallen-Key Topology Butterworth Active Bandpass Filter using Sallen-Key Topology Technical Report 5 Milwaukee School of Engineering ET-3100 Electronic Circuit Design Submitted By: Alex Kremnitzer Date: 05-11-2011 Date Performed:

More information

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Spring Semester, Introduction to EECS 2

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Spring Semester, Introduction to EECS 2 Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Spring Semester, 2007 6.082 Introduction to EECS 2 Lab #3: Modulation and Filtering Goal:... 2 Instructions:...

More information

Brief Introduction to Signals & Systems. Phani Chavali

Brief Introduction to Signals & Systems. Phani Chavali Brief Introduction to Signals & Systems Phani Chavali Outline Signals & Systems Continuous and discrete time signals Properties of Systems Input- Output relation : Convolution Frequency domain representation

More information

Application Note 7. Digital Audio FIR Crossover. Highlights Importing Transducer Response Data FIR Window Functions FIR Approximation Methods

Application Note 7. Digital Audio FIR Crossover. Highlights Importing Transducer Response Data FIR Window Functions FIR Approximation Methods Application Note 7 App Note Application Note 7 Highlights Importing Transducer Response Data FIR Window Functions FIR Approximation Methods n Design Objective 3-Way Active Crossover 200Hz/2kHz Crossover

More information

University of Bahrain

University of Bahrain University of Bahrain College of Engineering Dept of Electrical and Electronics Engineering Experiment 5 EEG 453 Multimedia Audio processing Objectives This experiment demonstrates different Audio processing

More information

HCS / ACN 6389 Speech Perception Lab

HCS / ACN 6389 Speech Perception Lab HCS / ACN 6389 Speech Perception Lab Course Requirements Matlab problems & lab assignments (40%) Oral presentations (10%) Term project paper (50%) Dr. Peter Assmann Fall 2017 2 Term project: important

More information

EGR 111 Audio Processing

EGR 111 Audio Processing EGR 111 Audio Processing This lab shows how to load, play, create, and filter sounds and music with MATLAB. Resources (available on course website): speech1.wav, birds_jet_noise.wav New MATLAB commands:

More information

Lab 0: Introduction to TIMS AND MATLAB

Lab 0: Introduction to TIMS AND MATLAB TELE3013 TELECOMMUNICATION SYSTEMS 1 Lab 0: Introduction to TIMS AND MATLAB 1. INTRODUCTION The TIMS (Telecommunication Instructional Modelling System) system was first developed by Tim Hooper, then a

More information

6 Sampling. Sampling. The principles of sampling, especially the benefits of coherent sampling

6 Sampling. Sampling. The principles of sampling, especially the benefits of coherent sampling Note: Printed Manuals 6 are not in Color Objectives This chapter explains the following: The principles of sampling, especially the benefits of coherent sampling How to apply sampling principles in a test

More information

9.1. Probability and Statistics

9.1. Probability and Statistics 9. Probability and Statistics Measured signals exhibit deterministic (predictable) and random (unpredictable) behavior. The deterministic behavior is often governed by a differential equation, while the

More information

Spectrum Analysis - Elektronikpraktikum

Spectrum Analysis - Elektronikpraktikum Spectrum Analysis Introduction Why measure a spectra? In electrical engineering we are most often interested how a signal develops over time. For this time-domain measurement we use the Oscilloscope. Like

More information

Contents. An introduction to MATLAB for new and advanced users

Contents. An introduction to MATLAB for new and advanced users An introduction to MATLAB for new and advanced users (Using Two-Dimensional Plots) Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional

More information

Fourier transforms, SIM

Fourier transforms, SIM Fourier transforms, SIM Last class More STED Minflux Fourier transforms This class More FTs 2D FTs SIM 1 Intensity.5 -.5 FT -1.5 1 1.5 2 2.5 3 3.5 4 4.5 5 6 Time (s) IFT 4 2 5 1 15 Frequency (Hz) ff tt

More information