UNIVERSITY OF WARWICK

Size: px
Start display at page:

Download "UNIVERSITY OF WARWICK"

Transcription

1 UNIVERSITY OF WARWICK School of Engineering ES905 MSc Signal Processing Module (2010) AM SIGNALS AND FILTERING EXERCISE Deadline: This is NOT for credit. It is best done before the first assignment. You will use the MATLAB package to design some FIR filters and use them to process some Amplitude Modulated (AM) Signals You may download copies of this document and useful files from the web: The pages below are part of a self learning exercise. Copy the MATLAB files from the above website when instructed to do so. Think about the questions that have been posed and fill in the text boxes if you wish. Remember: This exercise is not for credit, just to aid your education. Do not hand your results in. 1

2 UNIVERSITY OF WARWICK School of Engineering ES905 Signal Processing, Assignment 1, Part A: AM Signals and Filtering Date: Introduction The exercise concerns the synthesis of some signals that are commonly found in communications systems. You will be adding noise to these signals. Filters will be designed to extract sinusoidal frequencies from the signals, and the noise content of the signals will be examined. You may plug headphones into the sockets at the front of some computers so that you can listen to the signals that you are observing as graphs on the screen. Matlab will be used extensively in this exercise. Before beginning, copy files: lab2_fir.m, lab2_synth.m, lab2_process.m, lab2_snr.m and noise_data.txt to your working directory. These can be found at: Copy the files as instructed. FIR Filter Design File: lab2_fir.m Save to your local disk. Make sure it has.m extension and nothing else In this first experiment you are going to extract two sinusoids from a signal containing two added sinusoids. You will design FIR filters using the Remez exchange algorithm. In the lectures we studied a method to design FIR filters using frequency plane specification, and a Fourier series technique to obtain the filter s coefficients. Today you will use a CAD method which works by minimising the differences between the specified and actual filter responses. Open a Matlab window (Double click on the icon). Open lab2_fir.m by clicking File (top left corner), then open, and then select lab2_fir.m. An editor window will appear. To execute the code click debug, then run etc. Part 1 of the code concerns the synthesis of the signal to be filtered. Its specification is: First signal, x1, has frequency, = 100Hz, peak amplitude = 1V Second signal, x2, has frequency, x2 = 400Hz, peak amplitude = 1V Sampling frequency, fs = 2000Hz (ie folding frequency ff > 400 >,100Hz) Combined signal, x = x1 + x2. fs = 2000; t = 0:(1/fs):0.1; %Set up sampling intervals over a 0.1s period x1 = sin(2*pi*100*t); x2 = sin(2*pi*400*t); x = x1 + x2; subplot(3,1,1), plot(t,x) %Plot the signal against time title('the combined signal, x'); %Wait until <return> is pressed 2

3 The program will wait at the. Alternatively cut the required code and paste it to the Matlab window. Observe the signal. Does it appear to be correct? Can you see the summed sinusoids? Part 2 of the code concerns the specification of the 1 st filter. This will be low-pass with a nominal cut-off midway between 100Hz and 400Hz. However, for practicality, separate pass 0 to 225Hz), transition (225 to 275Hz), and stop bands (275 to folding frequency), are specified in vector: fhz0. fhz0 = [ fs/2]; These are converted to be non-dimensional: f0 = fhz0/(fs/2); Next a vector containing the required gain of the filter at the specified frequencies appears. Eg Lowpass: [ ], high-pass: [ ], band-pass [ ]. ml0 = [ ]; Next the filter coefficients, brl are calculated. Notice the specification vectors f0 and ml0. The 60 is the order of the filter. [brl] = remez(60, f0, ml0); Observe how good the filter is by comparing the specification with its actual spectrum. fhz1 = linspace(0, fs/2, 50); om1 = 2*pi*fHz1; z = exp(sqrt(-1)*om1/fs); ml = abs(polyval(brl,z)); subplot(3,1,2), plot(fhz0, ml0, fhz1, ml) title('spectrum of low-pass filter'); ylabel(' G '); xlabel('frequency (Hz)'); Try designing some filters with different orders eg 6 and 20. Comment on the effect on the frequency response of changing the filter s order. Now return to filter order 60 and filter the signal to extract the low frequency sinusoid. y1 = filter(brl,1,x); subplot(3,1,3), plot(t,y1) title('the extracted low frequency signal, x'); 3

4 Comment on the lack of output for the 1 st 15ms. Now design and implement a high-pass filter to extract the 400Hz sinusoid from the signal. Plot three graphs:- Input signal against time; Modulus of filter gain against frequency; Output signal against time. Hints: (i) (ii) In the editor, copy the code for the low pass filter and modify it Display the 3 graphs, are they correct? Are the titles and labels correct? If so then give Matlab the command print and retrieve your hardcopy if you want one. Synthesise a Noisy AM Signal (File: lab2_synth.m) and (noise_data_10.txt) Read the file containing a random signal (noise) into array A. View and listen to a sample of the noise. %%% Read data from file produced by a C program into 1 x Flength array fid = fopen('noise_data_07.txt','r'); %open the file [A,Flength] = fscanf(fid,'%f',[1,inf]); %read the data into A A = A/300; A((Flength+1):(2*Flength)) = A; %adjust noise level and length plot(a(1:128)) title( Noise ); ylabel( Amplitude ); xlabel( Time (s) ); soundsc(a); %plot the 1 st 128 noise samples. Set a sampling frequency of 4kHz and create a 500Hz carrier wave. %%% Create carrier sinewave of length: 4.0secs, frequency: 500Hz fs = 4000; %sampling frequency 4000Hz t = 0:(1/fs):4.0; %create 'time' samples x1 = sin(2*pi*500*t); %create a 500Hz sinewave carrier subplot(3,1,1), plot(t(1:128),x1(1:128)) title('sample length of carrier wave'); soundsc(x1) Create a message signal. This will be an 80Hz sinusoid. Notice that its maximum amplitude has been limited to 0.3V. This will limit the modulation depth of the AM wave to ka = 0.3 as the carrier has a peak amplitude of 1V. AM wave, s( t) = Ac [1 + kam( t)]cos(2π f ct), where k a controls the modulation depth, f c is the carrier frequency, A c is the carrier peak amplitude, and m(t) is the message signal. %%% Create message signal sinewave of length: 4.0secs, frequency: 80Hz ka = 0.3; % modulation depth x2 = ka*sin(2*pi*80*t); subplot(3,1,2), plot(t(1:128),x2(1:128)) title('sample length of modulation wave'); soundsc(x2) 4

5 Create the AM signal, s %%% Amplitude modulate the carrier s = ((1 + x2).*x1); subplot(3,1,3), plot(t(1:128),s(1:128)) title('sample length of modulated carrier wave'); soundsc(s) Add noise to AM signal %%% Add noise to the AM signal n = A(1:(1 + (fs * 4.0))); % truncate noise sequence sn = s + n; % add noise to signal subplot(3,1,3), plot(t(1:128),sn(1:128)) title('sample length of noisy AM wave'); soundsc(sn) Three graphs should be visible on the PC screen:- Carrier wave against time; Message signal against time; Noisy AM signal against time. Obtain a printout of these on a single sheet of A4 if you wish. Process the Noisy AM Signal (File: lab2_process.m) In this section you will retrieve the message signal from the noisy AM signal that you synthesised in the previous section. This will be achieved by a three stage process :- (i) Band-pass filter the carrier wave, (ii) Rectify the modulated carrier, (iii) Low-pass filter the rectified carrier to obtain the message signal. (i) Band-pass filter the carrier wave. Design a filter. The filter is specified in the frequency domain. Transform the AM signal and view its spectrum. %%% Transform a sample of the AM signal to the frequency domain S=fft(sn(1:1024)); %use fast Fourier transform, sample length 1024 Sa=abs(S); % modulus of spectrum Sp=angle(S); %phase % Calibrate spectrum in Hz b = 1:1024; frs = (b-1)/1024*fs; % frequencies % plot graph clf % clear screen subplot(3,1,1), plot(frs,sa); title('spectrum of AM wave'); ylabel(' Sa '); Observe the carrier and sidebands. You must design a filter to extract both the carrier and the sidebands. The gain will be [ ]. Try significant frequencies [ fs/2] Hz. %%% Tune in the carrier. That is band pass filter the AM signal %design the filter fhz = [ fs/2]; mbp = [ ]; %specify significant frequencies %magnitude specification of band-pass 5

6 f0 = fhz/(fs/2); b_bp = remez(120, f0, mbp); %non-dimensional significant frequencies % obtain filter coefficients %check the pass and stop bands of the filter fhz1 = linspace(0, fs/2, 50); om1 = 2*pi*fHz1; z = exp(sqrt(-1)*om1/fs); bp = abs(polyval(b_bp,z)); subplot(3,1,2), plot(fhz1,bp) title('band-pass filter characteristic'); Now tune in the noisy AM signal % filter the noisy AM signal am = filter(b_bp,1,sn); AM = abs(fft(am(1:1024))); % Check the spectrum of the filtered AM signal subplot(3,1,3), plot(frs,am); title('spectrum of tuned AM wave'); ylabel(' Sa '); xlabel('frequency (Hz)'); Obtain a printout of these three frequency domain plots if you wish. Now you can detect the message signal. Firstly rectify the AM wave. %%% Retrieve the message signal (80 Hz sinusoid) % View a sample of the tuned (received) AM signal clf subplot(3,1,1), plot(t(1:400),am(1:400)) title('received AM signal'); soundsc(am); % Rectify the AM signal rec = am; % copy the am to rec for i = 1:(fs*4.0), if am(i) < 0; rec(i) = 0; % reset all negative samples to 0 end end subplot(3,1,2), plot(t(1:400),rec(1:400)) title('rectified AM signal'); soundsc(rec); The rectified signal must now be low-pass filtered. Specify and implement such a filter, and then use it to recover the message signal. 6

7 Specification of the low-pass filter. Frequency specification Vector (Hz): [ ] Non-dimensional frequency specification vector: [ ] Gain specification vector: [ ] Filter order: Comment on the suitability of this filter: Display the following three graphs on the PC screen:- Received AM signal against time; Rectified signal against time; Detected (low-pass filtered) signal against time. Obtain a printout of these if you wish. Comment on the appearance of the message signal. Investigate the Noisy Signals (File: lab2_snr.m) Signal to Noise Ratio (SNR). We can define the receiver input SNR as the ratio of the average power of the modulated input signal, P s to the average power of the input noise P n. Ps SNR = 10log. Pn Estimate the SNR of the noisy AM signal. In this case there are two ways to proceed. Firstly, P s and P n can be estimated before they are added (not generally the case). Secondly they can be estimated from measurements on the noisy AM signal. Estimation before P s and P n are added. Obtain statistics on s(t) and n(t). You need to calculate the average power of each signal, ie sum the squares of the individual samples and divide by N, the number of samples. eg: 1 N 2 P = ( n k ). n k = 1 [ ] N Basically you are calculating the mean square value, and noting that the mean value of each signal is zero, you can use the variance (var) function to calculate the average power of each signal. %%% Estimate SNR before addition of am signal and noise % Estimate noise power MEAN = mean(n) MAX = max(n) MIN = min(n) VARIANCE = var(n) 7

8 Pn = VARIANCE; subplot(3,1,1), plot(t(1:400),n(1:400)) title('sample of noise signal'); n_sq = n.* n; subplot(3,1,2), plot(t(1:400),n_sq(1:400)) title('sample of noise power'); ylabel('power (V**2)'); % Estimate signal power MEAN = mean(s) MAX = max(s) MIN = min(s) VARIANCE = var(s) Ps = VARIANCE; s_sq = s.* s; subplot(3,1,3), plot(t(1:400),s_sq(1:400)) title('sample of signal power'); ylabel('power (V**2)'); SNR = 10 * log10(ps/pn) %use log10 for base 10 Record the statistics and SNR of the separate signals Mean Maximum Minimum Variance (power) Signal s(t) Noise n(t) SNR db Estimate the SNR from the received AM wave. You will have to extract the noise and AM signals from the received signal. Use filters. You already have the band-pass filtered am wave. Try bandstop filtering with the inverse characteristic to obtain the noise. Then proceed as above. Record the statistics and SNR of the combined AM wave Mean Maximum Minimum Variance (power) Signal s(t) Noise n(t) SNR db Comment on the difference between the SNR when estimated by these two methods. RCS, 28/9/10 8

UNIVERSITY OF WARWICK

UNIVERSITY OF WARWICK UNIVERSITY OF WARWICK School of Engineering ES905 MSc Signal Processing Module (2004) ASSIGNMENT 1 In this assignment, you will use the MATLAB package. In Part (A) you will design some FIR filters and

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

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

Synthesis: From Frequency to Time-Domain

Synthesis: From Frequency to Time-Domain Synthesis: From Frequency to Time-Domain I Synthesis is a straightforward process; it is a lot like following a recipe. I Ingredients are given by the spectrum X (f )={(X 0, 0), (X 1, f 1 ), (X 1, f 1),...,

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

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

Memorial University of Newfoundland Faculty of Engineering and Applied Science. Lab Manual

Memorial University of Newfoundland Faculty of Engineering and Applied Science. Lab Manual Memorial University of Newfoundland Faculty of Engineering and Applied Science Engineering 6871 Communication Principles Lab Manual Fall 2014 Lab 1 AMPLITUDE MODULATION Purpose: 1. Learn how to use Matlab

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

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar Biomedical Signals Signals and Images in Medicine Dr Nabeel Anwar Noise Removal: Time Domain Techniques 1. Synchronized Averaging (covered in lecture 1) 2. Moving Average Filters (today s topic) 3. Derivative

More information

Fourier Series and Gibbs Phenomenon

Fourier Series and Gibbs Phenomenon Fourier Series and Gibbs Phenomenon University Of Washington, Department of Electrical Engineering This work is produced by The Connexions Project and licensed under the Creative Commons Attribution License

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

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

L A B 3 : G E N E R A T I N G S I N U S O I D S L A B 3 : G E N E R A T I N G S I N U S O I D S NAME: DATE OF EXPERIMENT: DATE REPORT SUBMITTED: 1/7 1 THEORY DIGITAL SIGNAL PROCESSING LABORATORY 1.1 GENERATION OF DISCRETE TIME SINUSOIDAL SIGNALS IN

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

ECE 5650/4650 MATLAB Project 1

ECE 5650/4650 MATLAB Project 1 This project is to be treated as a take-home exam, meaning each student is to due his/her own work. The project due date is 4:30 PM Tuesday, October 18, 2011. To work the project you will need access to

More information

Lab 4 Fourier Series and the Gibbs Phenomenon

Lab 4 Fourier Series and the Gibbs Phenomenon Lab 4 Fourier Series and the Gibbs Phenomenon EE 235: Continuous-Time Linear Systems Department of Electrical Engineering University of Washington This work 1 was written by Amittai Axelrod, Jayson Bowen,

More information

Laboratory 7: Active Filters

Laboratory 7: Active Filters EGR 224L - Spring 208 7. Introduction Laboratory 7: Active Filters During this lab, you are going to use data files produced by two different low-pass filters to examine MATLAB s ability to predict transfer

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

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

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

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

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

EE477 Digital Signal Processing Laboratory Exercise #13

EE477 Digital Signal Processing Laboratory Exercise #13 EE477 Digital Signal Processing Laboratory Exercise #13 Real time FIR filtering Spring 2004 The object of this lab is to implement a C language FIR filter on the SHARC evaluation board. We will filter

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

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

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

Project 2 - Speech Detection with FIR Filters

Project 2 - Speech Detection with FIR Filters Project 2 - Speech Detection with FIR Filters ECE505, Fall 2015 EECS, University of Tennessee (Due 10/30) 1 Objective The project introduces a practical application where sinusoidal signals are used to

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

(i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods

(i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods Tools and Applications Chapter Intended Learning Outcomes: (i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods

More information

Modulating Signal by Matlab. Amplitude modulation(am)

Modulating Signal by Matlab. Amplitude modulation(am) Modulating Signal by Matlab Amplitude modulation(am) f(t)=(a+m(t))*cos(2*pi*fc) y = ammod(x,fc,fs) y = ammod(x,fc,fs,ini_phase) y = ammod(x,fc,fs,ini_phase,carramp) y = ammod(x,fc,fs) uses the message

More information

Presentation Outline. Advisors: Dr. In Soo Ahn Dr. Thomas L. Stewart. Team Members: Luke Vercimak Karl Weyeneth. Karl. Luke

Presentation Outline. Advisors: Dr. In Soo Ahn Dr. Thomas L. Stewart. Team Members: Luke Vercimak Karl Weyeneth. Karl. Luke Bradley University Department of Electrical and Computer Engineering Senior Capstone Project Presentation May 2nd, 2006 Team Members: Luke Vercimak Karl Weyeneth Advisors: Dr. In Soo Ahn Dr. Thomas L.

More information

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts Instruction Manual for Concept Simulators that accompany the book Signals and Systems by M. J. Roberts March 2004 - All Rights Reserved Table of Contents I. Loading and Running the Simulators II. Continuous-Time

More information

Digital Signal Processing PW1 Signals, Correlation functions and Spectra

Digital Signal Processing PW1 Signals, Correlation functions and Spectra Digital Signal Processing PW1 Signals, Correlation functions and Spectra Nathalie Thomas Master SATCOM 018 019 1 Introduction The objectives of this rst practical work are the following ones : 1. to be

More information

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

1. In the command window, type help conv and press [enter]. Read the information displayed. ECE 317 Experiment 0 The purpose of this experiment is to understand how to represent signals in MATLAB, perform the convolution of signals, and study some simple LTI systems. Please answer all questions

More information

ELT COMMUNICATION THEORY

ELT COMMUNICATION THEORY ELT 41307 COMMUNICATION THEORY Project work, Fall 2017 Experimenting an elementary single carrier M QAM based digital communication chain 1 ASSUMED SYSTEM MODEL AND PARAMETERS 1.1 SYSTEM MODEL In this

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

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

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

Introduction to Simulink Assignment Companion Document

Introduction to Simulink Assignment Companion Document Introduction to Simulink Assignment Companion Document Implementing a DSB-SC AM Modulator in Simulink The purpose of this exercise is to explore SIMULINK by implementing a DSB-SC AM modulator. DSB-SC AM

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

Attia, John Okyere. Plotting Commands. Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999

Attia, John Okyere. Plotting Commands. Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999 Attia, John Okyere. Plotting Commands. Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999 1999 by CRC PRESS LLC CHAPTER TWO PLOTTING COMMANDS 2.1 GRAPH

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

Wireless Communication Systems Laboratory Lab#1: An introduction to basic digital baseband communication through MATLAB simulation Objective

Wireless Communication Systems Laboratory Lab#1: An introduction to basic digital baseband communication through MATLAB simulation Objective Wireless Communication Systems Laboratory Lab#1: An introduction to basic digital baseband communication through MATLAB simulation Objective The objective is to teach students a basic digital communication

More information

Lab S-5: DLTI GUI and Nulling Filters. Please read through the information below prior to attending your lab.

Lab S-5: DLTI GUI and Nulling Filters. Please read through the information below prior to attending your lab. DSP First, 2e Signal Processing First Lab S-5: DLTI GUI and Nulling Filters Pre-Lab: Read the Pre-Lab and do all the exercises in the Pre-Lab section prior to attending lab. Verification: The Exercise

More information

ELT DIGITAL COMMUNICATIONS

ELT DIGITAL COMMUNICATIONS ELT-43007 DIGITAL COMMUNICATIONS Matlab Exercise #2 Baseband equivalent digital transmission in AWGN channel: Transmitter and receiver structures - QAM signals, Gray coding and bit error probability calculations

More information

Problems from the 3 rd edition

Problems from the 3 rd edition (2.1-1) Find the energies of the signals: a) sin t, 0 t π b) sin t, 0 t π c) 2 sin t, 0 t π d) sin (t-2π), 2π t 4π Problems from the 3 rd edition Comment on the effect on energy of sign change, time shifting

More information

Digital Signal Processing

Digital Signal Processing Digital Signal Processing Lab 1: FFT, Spectral Leakage, Zero Padding Moslem Amiri, Václav Přenosil Embedded Systems Laboratory Faculty of Informatics, Masaryk University Brno, Czech Republic amiri@mail.muni.cz

More information

3.2 Measuring Frequency Response Of Low-Pass Filter :

3.2 Measuring Frequency Response Of Low-Pass Filter : 2.5 Filter Band-Width : In ideal Band-Pass Filters, the band-width is the frequency range in Hz where the magnitude response is at is maximum (or the attenuation is at its minimum) and constant and equal

More information

The Formula for Sinusoidal Signals

The Formula for Sinusoidal Signals The Formula for I The general formula for a sinusoidal signal is x(t) =A cos(2pft + f). I A, f, and f are parameters that characterize the sinusoidal sinal. I A - Amplitude: determines the height of the

More information

Universiti Malaysia Perlis EKT430: DIGITAL SIGNAL PROCESSING LAB ASSIGNMENT 1: DISCRETE TIME SIGNALS IN THE TIME DOMAIN

Universiti Malaysia Perlis EKT430: DIGITAL SIGNAL PROCESSING LAB ASSIGNMENT 1: DISCRETE TIME SIGNALS IN THE TIME DOMAIN Universiti Malaysia Perlis EKT430: DIGITAL SIGNAL PROCESSING LAB ASSIGNMENT 1: DISCRETE TIME SIGNALS IN THE TIME DOMAIN Pusat Pengajian Kejuruteraan Komputer Dan Perhubungan Universiti Malaysia Perlis

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

ECE 201: Introduction to Signal Analysis

ECE 201: Introduction to Signal Analysis ECE 201: Introduction to Signal Analysis Prof. Paris Last updated: October 9, 2007 Part I Spectrum Representation of Signals Lecture: Sums of Sinusoids (of different frequency) Introduction Sum of Sinusoidal

More information

Lab P-4: AM and FM Sinusoidal Signals. We have spent a lot of time learning about the properties of sinusoidal waveforms of the form: ) X

Lab P-4: AM and FM Sinusoidal Signals. We have spent a lot of time learning about the properties of sinusoidal waveforms of the form: ) X DSP First, 2e Signal Processing First Lab P-4: AM and FM Sinusoidal Signals Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises

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

Additive Synthesis OBJECTIVES BACKGROUND

Additive Synthesis OBJECTIVES BACKGROUND Additive Synthesis SIGNALS & SYSTEMS IN MUSIC CREATED BY P. MEASE, 2011 OBJECTIVES In this lab, you will construct your very first synthesizer using only pure sinusoids! This will give you firsthand experience

More information

SIGNALS AND SYSTEMS LABORATORY 3: Construction of Signals in MATLAB

SIGNALS AND SYSTEMS LABORATORY 3: Construction of Signals in MATLAB SIGNALS AND SYSTEMS LABORATORY 3: Construction of Signals in MATLAB INTRODUCTION Signals are functions of time, denoted x(t). For simulation, with computers and digital signal processing hardware, one

More information

Experiment Five: The Noisy Channel Model

Experiment Five: The Noisy Channel Model Experiment Five: The Noisy Channel Model Modified from original TIMS Manual experiment by Mr. Faisel Tubbal. Objectives 1) Study and understand the use of marco CHANNEL MODEL module to generate and add

More information

MATLAB Assignment. The Fourier Series

MATLAB Assignment. The Fourier Series MATLAB Assignment The Fourier Series Read this carefully! Submit paper copy only. This project could be long if you are not very familiar with Matlab! Start as early as possible. This is an individual

More information

AC : FIR FILTERS FOR TECHNOLOGISTS, SCIENTISTS, AND OTHER NON-PH.D.S

AC : FIR FILTERS FOR TECHNOLOGISTS, SCIENTISTS, AND OTHER NON-PH.D.S AC 29-125: FIR FILTERS FOR TECHNOLOGISTS, SCIENTISTS, AND OTHER NON-PH.D.S William Blanton, East Tennessee State University Dr. Blanton is an associate professor and coordinator of the Biomedical Engineering

More information

SGN Bachelor s Laboratory Course in Signal Processing Audio frequency band division filter ( ) Name: Student number:

SGN Bachelor s Laboratory Course in Signal Processing Audio frequency band division filter ( ) Name: Student number: TAMPERE UNIVERSITY OF TECHNOLOGY Department of Signal Processing SGN-16006 Bachelor s Laboratory Course in Signal Processing Audio frequency band division filter (2013-2014) Group number: Date: Name: Student

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

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

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Fall Semester, Introduction to EECS 2 Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Fall Semester, 2006 6.082 Introduction to EECS 2 Lab #2: Time-Frequency Analysis Goal:... 3 Instructions:... 3

More information

Lab 8: Frequency Response and Filtering

Lab 8: Frequency Response and Filtering Lab 8: Frequency Response and Filtering Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in the Pre-Lab section before going

More information

SIGNALS AND SYSTEMS LABORATORY 13: Digital Communication

SIGNALS AND SYSTEMS LABORATORY 13: Digital Communication SIGNALS AND SYSTEMS LABORATORY 13: Digital Communication INTRODUCTION Digital Communication refers to the transmission of binary, or digital, information over analog channels. In this laboratory you will

More information

Digital Signal Processing ETI

Digital Signal Processing ETI 2011 Digital Signal Processing ETI265 2011 Introduction In the course we have 2 laboratory works for 2011. Each laboratory work is a 3 hours lesson. We will use MATLAB for illustrate some features in digital

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

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

DSP First Lab 03: AM and FM Sinusoidal Signals. We have spent a lot of time learning about the properties of sinusoidal waveforms of the form: k=1

DSP First Lab 03: AM and FM Sinusoidal Signals. We have spent a lot of time learning about the properties of sinusoidal waveforms of the form: k=1 DSP First Lab 03: AM and FM Sinusoidal Signals Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in the Pre-Lab section before

More information

Signals, sampling & filtering

Signals, sampling & filtering Signals, sampling & filtering Scientific Computing Fall, 2018 Paul Gribble 1 Time domain representation of signals 1 2 Frequency domain representation of signals 2 3 Fast Fourier transform (FFT) 2 4 Sampling

More information

Fourier Signal Analysis

Fourier Signal Analysis Part 1B Experimental Engineering Integrated Coursework Location: Baker Building South Wing Mechanics Lab Experiment A4 Signal Processing Fourier Signal Analysis Please bring the lab sheet from 1A experiment

More information

ESE531 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Signal Processing

ESE531 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Signal Processing University of Pennsylvania Department of Electrical and System Engineering Digital Signal Processing ESE531, Spring 2017 Final Project: Audio Equalization Wednesday, Apr. 5 Due: Tuesday, April 25th, 11:59pm

More information

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

DCSP-10: DFT and PSD. Jianfeng Feng. Department of Computer Science Warwick Univ., UK DCSP-10: DFT and PSD Jianfeng Feng Department of Computer Science Warwick Univ., UK Jianfeng.feng@warwick.ac.uk http://www.dcs.warwick.ac.uk/~feng/dcsp.html DFT Definition: The discrete Fourier transform

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

GE U111 HTT&TL, Lab 1: The Speed of Sound in Air, Acoustic Distance Measurement & Basic Concepts in MATLAB

GE U111 HTT&TL, Lab 1: The Speed of Sound in Air, Acoustic Distance Measurement & Basic Concepts in MATLAB GE U111 HTT&TL, Lab 1: The Speed of Sound in Air, Acoustic Distance Measurement & Basic Concepts in MATLAB Contents 1 Preview: Programming & Experiments Goals 2 2 Homework Assignment 3 3 Measuring The

More information

Experiment 2: Electronic Enhancement of S/N and Boxcar Filtering

Experiment 2: Electronic Enhancement of S/N and Boxcar Filtering Experiment 2: Electronic Enhancement of S/N and Boxcar Filtering Synopsis: A simple waveform generator will apply a triangular voltage ramp through an R/C circuit. A storage digital oscilloscope, or an

More information

Digital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10

Digital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10 Digital Signal Processing VO Embedded Systems Engineering Armin Wasicek WS 2009/10 Overview Signals and Systems Processing of Signals Display of Signals Digital Signal Processors Common Signal Processing

More information

Principles of Communications ECS 332

Principles of Communications ECS 332 Principles of Communications ECS 332 Asst. Prof. Dr. Prapun Suksompong prapun@siit.tu.ac.th 5. Angle Modulation Office Hours: BKD, 6th floor of Sirindhralai building Wednesday 4:3-5:3 Friday 4:3-5:3 Example

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

Lab 1B LabVIEW Filter Signal

Lab 1B LabVIEW Filter Signal Lab 1B LabVIEW Filter Signal Due Thursday, September 12, 2013 Submit Responses to Questions (Hardcopy) Equipment: LabVIEW Setup: Open LabVIEW Skills learned: Create a low- pass filter using LabVIEW and

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

Fall Music 320A Homework #2 Sinusoids, Complex Sinusoids 145 points Theory and Lab Problems Due Thursday 10/11/2018 before class

Fall Music 320A Homework #2 Sinusoids, Complex Sinusoids 145 points Theory and Lab Problems Due Thursday 10/11/2018 before class Fall 2018 2019 Music 320A Homework #2 Sinusoids, Complex Sinusoids 145 points Theory and Lab Problems Due Thursday 10/11/2018 before class Theory Problems 1. 15 pts) [Sinusoids] Define xt) as xt) = 2sin

More information

Digital Signal Processing ETI

Digital Signal Processing ETI 2012 Digital Signal Processing ETI265 2012 Introduction In the course we have 2 laboratory works for 2012. Each laboratory work is a 3 hours lesson. We will use MATLAB for illustrate some features in digital

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

ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS

ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS Objectives: There are two goals in this laboratory exercise. The first is to reinforce the Fourier series analysis you have done in the lecture portion of this course.

More information

1.5 The voltage V is given as V=RI, where R and I are resistance matrix and I current vector. Evaluate V given that

1.5 The voltage V is given as V=RI, where R and I are resistance matrix and I current vector. Evaluate V given that Sheet (1) 1.1 The voltage across a discharging capacitor is v(t)=10(1 e 0.2t ) Generate a table of voltage, v(t), versus time, t, for t = 0 to 50 seconds with increment of 5 s. 1.2 Use MATLAB to evaluate

More information

Contents. Introduction 1 1 Suggested Reading 2 2 Equipment and Software Tools 2 3 Experiment 2

Contents. Introduction 1 1 Suggested Reading 2 2 Equipment and Software Tools 2 3 Experiment 2 ECE363, Experiment 02, 2018 Communications Lab, University of Toronto Experiment 02: Noise Bruno Korst - bkf@comm.utoronto.ca Abstract This experiment will introduce you to some of the characteristics

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

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

ELT DIGITAL COMMUNICATIONS

ELT DIGITAL COMMUNICATIONS ELT-43007 DIGITAL COMMUNICATIONS Matlab Exercise #1 Baseband equivalent digital transmission in AWGN channel: Transmitter and receiver structures - QAM signals, symbol detection and symbol error probability

More information

Laboratory 5: Spread Spectrum Communications

Laboratory 5: Spread Spectrum Communications Laboratory 5: Spread Spectrum Communications Cory J. Prust, Ph.D. Electrical Engineering and Computer Science Department Milwaukee School of Engineering Last Update: 19 September 2018 Contents 0 Laboratory

More information

Introduction. A Simple Example. 3. fo = 4; %frequency of the sine wave. 4. Fs = 100; %sampling rate. 5. Ts = 1/Fs; %sampling time interval

Introduction. A Simple Example. 3. fo = 4; %frequency of the sine wave. 4. Fs = 100; %sampling rate. 5. Ts = 1/Fs; %sampling time interval Introduction In this tutorial, we will discuss how to use the fft (Fast Fourier Transform) command within MATLAB. The fft command is in itself pretty simple, but takes a little bit of getting used to in

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

School of Engineering and Information Technology ASSESSMENT COVER SHEET

School of Engineering and Information Technology ASSESSMENT COVER SHEET Student Name Student ID Assessment Title Unit Number and Title Lecturer/Tutor School of Engineering and Information Technology ASSESSMENT COVER SHEET Rajeev Subramanian S194677 Laboratory Exercise 3 report

More information

Discrete Fourier Transform

Discrete Fourier Transform Discrete Fourier Transform The DFT of a block of N time samples {a n } = {a,a,a 2,,a N- } is a set of N frequency bins {A m } = {A,A,A 2,,A N- } where: N- mn A m = S a n W N n= W N e j2p/n m =,,2,,N- EECS

More information

Measuring Modulations

Measuring Modulations I N S T I T U T E O F C O M M U N I C A T I O N E N G I N E E R I N G Telecommunications Laboratory Measuring Modulations laboratory guide Table of Contents 2 Measurement Tasks...3 2.1 Starting up the

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

II. LAB. * Open the LabVIEW program (Start > All Programs > National Instruments > LabVIEW 2012 > LabVIEW 2012)

II. LAB. * Open the LabVIEW program (Start > All Programs > National Instruments > LabVIEW 2012 > LabVIEW 2012) II. LAB Software Required: NI LabVIEW 2012, NI LabVIEW 4.3 Modulation Toolkit. Functions and VI (Virtual Instrument) from the LabVIEW software to be used in this lab: niusrp Open Tx Session (VI), niusrp

More information

UNIVERSITY OF UTAH ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT

UNIVERSITY OF UTAH ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT UNIVERSITY OF UTAH ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT ECE1020 COMPUTING ASSIGNMENT 3 N. E. COTTER MATLAB ARRAYS: RECEIVED SIGNALS PLUS NOISE READING Matlab Student Version: learning Matlab

More information

Computer Programming ECIV 2303 Chapter 5 Two-Dimensional Plots Instructor: Dr. Talal Skaik Islamic University of Gaza Faculty of Engineering

Computer Programming ECIV 2303 Chapter 5 Two-Dimensional Plots Instructor: Dr. Talal Skaik Islamic University of Gaza Faculty of Engineering Computer Programming ECIV 2303 Chapter 5 Two-Dimensional Plots Instructor: Dr. Talal Skaik Islamic University of Gaza Faculty of Engineering 1 Introduction Plots are a very useful tool for presenting information.

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

TIMA Lab. Research Reports

TIMA Lab. Research Reports ISSN 292-862 TIMA Lab. Research Reports TIMA Laboratory, 46 avenue Félix Viallet, 38 Grenoble France ON-CHIP TESTING OF LINEAR TIME INVARIANT SYSTEMS USING MAXIMUM-LENGTH SEQUENCES Libor Rufer, Emmanuel

More information