Problem Set 1 (Solutions are due Mon )

Size: px
Start display at page:

Download "Problem Set 1 (Solutions are due Mon )"

Transcription

1 ECEN 242 Wireless Electronics for Communication Spring P. Mathys Problem Set 1 (Solutions are due Mon ) 1 Introduction The goals of this problem set are to use Matlab to generate and analyze waveforms in the time and frequency domains. A function or signal x(t) that is defined for all instants of time in some interval, such as the sinusoid x(t) = A cos(2πft + θ), < t <, is called a continuous-time (CT) function or signal. By sampling such an x(t) at time instants t = nt s, n =..., 2, 1,, 1, 2,..., a discrete-time (DT) function or signal, usually denoted by x n or x[n], is obtained for which the values are only known at integer multiples of the sampling interval T s. We set x n = x[n] = x(nt s ) and say that the signal x(t) has been sampled with sampling frequency F s = 1/T s in samples per second or Hertz. An example of a sine signal, sampled 8 times per period, is shown in the graph below. 1 CT Signal x(t)=sin(2πf t) and DT Signal x n =x(nt s ), f =1 Hz, F s =1/T s =8 Hz x(t), x n =x(nt s ) t [ms] Intuitively, more detail can be captured if the sampling rate is higher. If the highest frequency in a signal is f m, then it turns out that the process of sampling can be reversed without any loss, provided that F s > 2f m. The frequency 2f m is called the Nyquist rate or frequency. The sampling theorem states that a bandlimited waveform can be reconstructed exactly from its samples at rate F s, provided that F s is at least as large as the Nyquist rate. Digital computers can only work with discrete-time signals. Therefore, all signal processing operations in Matlab have to be performed on DT signals. It is often useful to choose a sampling rate in Matlab that is much higher than the Nyquist rate and to pretend that the corresponding signal is a CT signal. This was done for the CT sinewave signal in the graph above. When the plot command in Matlab is used, then Matlab automatically connects adjacent samples by straight lines, thereby creating the illusion of a CT signal. But 1

2 fundamentally, all signals in Matlab are DT signals that are stored in vectors and matrices with discrete indexes. To work efficiently in Matlab you need to know a few basic things. All operations can be executed directly at the command prompt, or they can be entered in script and/or function files which are then invoked from the command prompt. If you don t know how to use a command, type help followed by the name of the command at the command prompt. Try help script or help plot to see how this works. To compute something simple like sin(6 ), type sin(pi*6/18) %pi*6/18 converts to radians To generate a row vector x = [59 313] type x = [ ] When you press enter, Matlab will echo the values that you entered. To suppress this, use a semicolon at the end of your entry as shown below. x = [ ]; To convert a row vector into a column vector use the transpose operator, e.g., y = [ ] ; or use the semicolon to start new rows: y = [; 5; 9; -3; 13]; Try multiplying A = x*y size(a) B = y*x size(b) %Print the size of matrix A %Print the size of matrix B One of those two operations is call inner product, the other is call outer product. Both of the multiplication operations are matrix/vector operations. To multiply elements in vectors or matrices (of the same size) individually, use.* instead of * (similarly, use./ or.^ for elementwise division and multiplication, respectively). Here is an example: pow3 = (3*ones(1,1)).^[:9] This computes the powers of 3 from 3 to 3 9. The expression 3*ones(1,1) produces a row vector of length 1, filled with 3 s. The expression [:9] produces a row vector of length 1 with consecutive integers from to 9. Here are some examples which show how to read various subsets from pow3. Note that indexing in Matlab always starts with 1 (and not with ). 2

3 pow3(2) %Read 2 nd element pow3([2,5,8]) %Read 2 nd, 5 th, and 8 th element pow3([4:7 9]) %Read elements 4,5,6,7 and 9 pow3([end:-1:1]) %Read whole array backwards Matrices work similarly as vectors, except that elements need to be addressed using more than one index. 2 Waveforms in Matlab The Matlab commands shown below can be used to generate (a DT approximation to) a sinusoidal signal of the form x(t) = A cos(2πf t + θ), with amplitude A, frequency f in Hertz, and phase θ. To be able to plot (a close replica of) x(t), as well as hear the effect of sampling, especially for f in the vicinity of one half of the sampling rate, we use two sampling rates, F s1 = 1/T s1 and F s2 F s1 in Matlab. The CT waveform x(t) is produced using the much higher sampling rate F s2 and the DT waveform x[n T s1 ] is produced using the actual sampling rate F s1. Waveform Example Code #1: Fs1 = 8; Fs2 = 2*Fs1; A = 1; f = 125; theta = 45; tlen1 = 1; tlen2 = 5/f; %Sampling rate for sound, Ts1=1/Fs1 %Sampling rate for display %Amplitude %Frequency in Hz %Phase in degrees %Duration in sec for sound %Duration in sec for display tt1 = [:floor(tlen1*fs1)-1]/fs1; %Time axis for sound tt2 = [:floor(tlen2*fs2)-1]/fs2; %Time axis for display xt1 = A*cos(2*pi*f*tt1+(pi/18)*theta); %x[n*ts1] for sound xt2 = A*cos(2*pi*f*tt2+(pi/18)*theta); %x(t) for display sound(xt1,fs1) %Play x[n*ts1] through sound card Continued on next page. 3

4 ixd = find(tt1<=tlen2); %Find indexes of tt1 where t<=tlen2 subplot(211) plot(1*tt2,*xt2, -k,1*tt2,xt2, -b,1*tt1(ixd),xt1(ixd), or ) grid %Plot x(t) and sound samples xlabel( t [ms] ), ylabel( x(t), x[n*t_{s1}] ) str = Waveform x(t)=a*cos(2*{\pi}*f_*t+{\theta} and x[n*t_{s1}] ; str = [str, f_= int2str(f) Hz, \theta= int2str(theta) deg ]; str = [str, F_{s1}= int2str(fs1) Hz ]; title(str) figure(gcf) The resulting graph which shows x(t) (xt2 in Matlab) as a CT waveform (blue line) and x[n T s1 ] (xt1 in Matlab) as DT samples (red circles) is shown below. 1 Waveform x(t)=a*cos(2*π*f *t+θ and x[n*t s1 ], f =125 Hz, θ=45 deg, F s1 =8 Hz.5 x(t), x[n*t s1 ] t [ms] By leaving F s1 fixed and varying f and letting it get close to F s1 /2, the effect of sampling a CT waveform can be studied. 3 Fourier Series and FFT in Matlab The Fourier Series (FS) (and Fourier transforms in general) is a tool that is very frequently used in engineering and in communications and signal processing in particular, to move back and forth between time and frequency representations of signals. Here is the definition of the complex-valued form of the FS. Definition: The Fourier Series (FS) of a periodic continuous time signal x(t) with period T is defined as X k = 1 T T x(t) e j2πkt/t dt, k =, ±1, ±2,..., where the integration is taken over any interval of length T. The FS coefficients X k correspond to frequency components at f k = k/t. Frequency f 1 = 1/T is called the fundamental 4

5 frequency, f 2 = 2/T is called the 2 nd harmonic, f 3 = 3/T is called the 3 rd harmonic, etc. The FS coefficients X k are complex-valued in general and are often displayed in the form of two graphs, a magnitude plot that shows X k versus k (or versus frequency k/t ), and a phase plot that shows X k versus k (or versus frequency k/t ). If the time domain function x(t) is real, then X k and X k are related by X k = X k, where the denotes complex conjugation. The periodic time function x(t) is obtained from the frequency domain coefficients X k using the following theorem. Theorem: Inverse FS. A periodic CT signal x(t) can be recovered uniquely from its FS coefficients X k (provided that they exist) by where T is the period of x(t). x(t) = k= X k e j2πkt/t, Example: Periodic rectangular waveform x(t) with amplitude 1, 5% duty cycle, and period T defined by { 1, mt T x(t) = /4 t < mt + T /4, m integer,, otherwise. The FS coefficients X k are computed as X k = 1 T T x(t) e j2πkt/t dt = 1 T T /4 T /4 e j2πkt/t dt = sin(πk/2) πk, k =, ±1, ±2,.... The graphs below show X k and X k versus k for 5 k 5, corresponding to frequencies 5/T f 5/T. Note that in this particular case the X k are all real and thus X k only shows whether X k is positive or negative for a specific k. 5

6 .5.4 X k X k [deg] k To synthesize x(t) from X k the formula x(t) = k= X k e j2πkt/t, is used. However, in practice only a limited number of X k may be available, e.g., in the range K k K for some finite integer K. In that case x K (t) = K k= K X k e j2πkt/t. The two graphs below show x K (t) for K = 5 and K = 5. The shape of x(t) that these graphs try to approximate is clearly visible, but it is also evident that there are some nonnegligible discrepancies, especially in places where the original x(t) has sharp transitions. 6

7 1.5 Synthesis of x K (t) from FS Coefficients X k for k up to K=5 1 x K (t), y k (t) t [ms] 1.5 Synthesis of x K (t) from FS Coefficients X k for k up to K=5 1 x K (t), y k (t) t [ms] The Matlab commands that were used to produce these graphs are shown below. Waveform Example Code #2: Fs = 8; T = 1e-3; tlen = 2*T; K = 5; X = 1/2; kk = [1:K]; Xk = sin(pi/2*kk)./(pi*kk); %Sampling rate %Period %Time duration %Maximum k %dc component %Positive k indexes %FS coefficients Xk tt = [:floor(tlen*fs)-1]/fs; %Time axis tt = tt-tlen/2; %Time axis centered at t= Ayt = zeros(k+1,length(tt)); %Array for component waveforms yk(t) Ayt(1,:) = X*ones(size(tt)); %dc component for k=1:k Ayt(k+1,:) = 2*Xk(k)*cos(2*pi*k/T*tt); %k-th component waveform yk(t) end Continued on next page. 7

8 xkt = sum(ayt); %Synthesized xk(t) subplot(211) plot(1*tt,ayt ) %Plot component waveforms yk(t) line(1*tt,xkt, Color,[1 1], LineWidth,2) %Add xkt to plot grid xlabel( t [ms] ), ylabel( x_k(t), y_k(t) ) str1 = Synthesis of x_k(t) from FS Coefficients X_k ; str1 = [str1 for k up to K= int2str(k)]; title(str1) figure(gcf) In this particular case, where X k = X k, x(t) was computed as x(t) = K k= K K X k e j2πkt/t ( = X + X k e j2πkt/t + e ) K j2πkt/t = X + 2 X k cos(2πkt/t ). k=1 The waveforms y k (t) that are stored in the array Ayt in the Matlab script are y k (t) = 2 X k cos(2πkt/t ). Computing the FS coefficients X k analytically is not practical for waveforms that were either measured in the lab or generated by circuit simulation, e.g., using LTspice. Most of the time such signals are only available in sampled form at times t = nt s for n =, 1, 2,..., N 1 (total of N samples. In this case it is reasonable to approximate the computation of X k as X k = 1 x(t) e j2πkt/t dt 1 N 1 x(nt s ) e j2πknts/(nts) T s T T NT s = 1 N n= N 1 x(nt s ) e j2πkn/n, where the period T has been set equal to N T s, the total length of the signal assumed to be available. Apart from the factor of 1/N, this is of the same form as the discrete Fourier transform (DFT) which is defined as follows. Definition: The discrete Fourier transform (DFT) of a DT signal x n, n =, 1,..., N 1, that is periodic with period N, is defined as X k = N 1 n= n= x n e j2πkn/n, k =, 1,..., N 1. The term FFT (fast Fourier transform) refers to a fast algorithm for computing the DFT for composite N and, very often, for the case when N is a power of 2. k=1 8

9 Theorem: Inverse DFT/FFT. A periodic DT signal x n with period N can be recovered uniquely from the DFT coefficients X k, k =, 1,... N 1 (mod N), by x n = 1 N N 1 k= X k e j2πkn/n, n =, 1,..., N 1. The term inverse FFT refers to a fast algorithm for computing the inverse DFT when N is composite, most often when N is a power of 2. Matlab has the commands fft and ifft built-in, and thus it is quite easy to obtain an approximation to the FS coefficients X k by computing the DFT coefficients X k and setting X k 1 N X k. The following Matlab commands compute and display X k for a cosine waveform with frequency f. FS/FFT Example Code #1: Fs = 8; f = 1; tlen =.1; tt = [:floor(tlen*fs)-1]/fs; xt = cos(2*pi*f*tt); N = length(xt); Xk = 1/N*fft(xt); kk = [:N-1]; ff = Fs/N*kk; %Sampling rate %Frequency of waveform x(t) %Time duration %Time axis %Waveform x(t) %Total number of samples %Xk approximated using FFT %Indexes k of Xk %Frequency axis subplot(211) stem(ff,abs(xk),.-b ) grid ylabel( X_k ) str = FS Coefficient Approximation using FFT ; str = [str, f_= int2str(f) Hz, F_s= int2str(fs) Hz ]; title(str) figure(gcf) The resulting graph which shows X k is shown below. 9

10 .5 FS Coefficient Approximation using FFT, f =1 Hz, F s =8 Hz.4 X k Note that, instead of showing positive and negative frequencies (at f and at f ) the graph shows a spectral line at f and at F s f. This comes from the fact that the DFT is periodic in both the time and frequency domains with period N. Therefore, 1 is the same as N 2, 2 is same as N 2, etc. 4 Problems 1) (a) Look at the Waveform Example Code #1 in the section Waveforms in Matlab. Look up the Matlab commands that you are not familiar with (using help command at the command prompt). Work on the code until you understand what it is doing and how it is doing it. Recreate the waveform given with the example code. Describe the main elements of the code in your solution. (b) Use the code from (a) to generate CT and DT sinusoids with frequencies f = 3, 35, 4, 45, 5 Hz with a sampling frequency F s1 = 8 Hz. Listen to the x1t signal and look at the plots for each f. Describe what you would expect to hear if you increase f and what you actually hear. How would you explain the phenomenon that you observe? (c) Generate the following complex-valued waveform xt in Matlab: Fs = 441; f = 1; tlen = 1; j = sqrt(-1); tt = [:floor(tlen*fs)-1]/fs; xt = exp(j*2*pi*f*tt); %Sampling rate %Signal frequency %Time duration %Imaginary unit %Time axis %Complex exponential Listen to and plot (using suitable scaling of the time axis) real(xt), imag(xt), and abs(xt). What is your interpretation of the three signals? 2) (a) Study the Matlab code given in Waveform Example Code #2. Recreate the graphs that were produced using this code in the section on Fourier Series and FFT in Matlab. Describe the main elements of the Matlab code. 1

11 (b) The following FS coefficients are given: X k = 2 π ( 1) k, k =, ±1, ±2, k2 Synthesize x(t) using T = 1 ms for K k K when K = 5 and K = 5. Include labeled graphs in your solution. What is the most likely original wavefom x(t)? What happens if you set X = when you synthesize x(t)? (c) Repeat (b) for the following FS coefficients: X k = j e j2πkτ/t 1 2πk, k =, ±1, ±2,.... Use T = 1 ms and τ = T /3 and τ = T /5. How does the value of τ affect the values of the spectral components X k? Are any of the X k zero? If so, how are the indexes of these X k related to the value of τ? Note that you will have to modify the Waveform Example Code #2 because in this case it is not true that X k = X k. 3) (a) Look at the FS/FFT Example Code #1 in the section on Fourier Series and FFT in Matlab. Recreate the example figure and describe the main elements of the code. What happens if you change f from 1 to 15 Hz? Why do you think this happens? (b) In the FS/FFT Example Code #1 change the statement for xt to xt = sign(cos(2*pi*f*tt)); %Waveform x(t) and run the script file again. Plot the waveform x(t) and describe it. Then look at the FS coefficients X k. Are they what they should be for the waveform that you saw? Try setting F s = 8 Hz (instead of 8 Hz). Are the X k now closer to what you expected? What conclusion can you draw for the selection of F s and N? (c) Generate approximately.1 sec of the waveform you found in 2b with a sampling rate of F s = 8 Hz. Then use the FFT approximation for FS coefficients from the section on Fourier Series and FFT in Matlab to compute and display X k. Compare with the X k given in 2b. c 212, P. Mathys. Last revised: , PM. 11

Wireless Communication

Wireless Communication ECEN 242 Wireless Electronics for Communication Spring 22-3-2 P. Mathys Wireless Communication Brief History In 893 Nikola Tesla (Serbian-American, 856 943) gave lectures in Philadelphia before the Franklin

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

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

DSP First. Laboratory Exercise #2. Introduction to Complex Exponentials

DSP First. Laboratory Exercise #2. Introduction to Complex Exponentials DSP First Laboratory Exercise #2 Introduction to Complex Exponentials The goal of this laboratory is gain familiarity with complex numbers and their use in representing sinusoidal signals as complex exponentials.

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

Basic Signals and Systems

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

More information

Digital Signal Processing Lecture 1 - Introduction

Digital Signal Processing Lecture 1 - Introduction Digital Signal Processing - Electrical Engineering and Computer Science University of Tennessee, Knoxville August 20, 2015 Overview 1 2 3 4 Basic building blocks in DSP Frequency analysis Sampling Filtering

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

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

Laboratory Assignment 4. Fourier Sound Synthesis

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

More information

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

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

More information

Signal Processing First Lab 02: Introduction to Complex Exponentials Direction Finding. x(t) = A cos(ωt + φ) = Re{Ae jφ e jωt }

Signal Processing First Lab 02: Introduction to Complex Exponentials Direction Finding. x(t) = A cos(ωt + φ) = Re{Ae jφ e jωt } Signal Processing First Lab 02: Introduction to Complex Exponentials Direction Finding Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over

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

Here are some of Matlab s complex number operators: conj Complex conjugate abs Magnitude. Angle (or phase) in radians

Here are some of Matlab s complex number operators: conj Complex conjugate abs Magnitude. Angle (or phase) in radians Lab #2: Complex Exponentials Adding Sinusoids Warm-Up/Pre-Lab (section 2): You may do these warm-up exercises at the start of the lab period, or you may do them in advance before coming to the lab. You

More information

1 Introduction and Overview

1 Introduction and Overview DSP First, 2e Lab S-0: Complex Exponentials Adding Sinusoids Signal Processing First Pre-Lab: Read the Pre-Lab and do all the exercises in the Pre-Lab section prior to attending lab. Verification: The

More information

1 Introduction and Overview

1 Introduction and Overview GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL and COMPUTER ENGINEERING ECE 2026 Summer 2018 Lab #2: Using Complex Exponentials Date: 31 May. 2018 Pre-Lab: You should read the Pre-Lab section of

More information

Signal Processing First Lab 02: Introduction to Complex Exponentials Multipath. x(t) = A cos(ωt + φ) = Re{Ae jφ e jωt }

Signal Processing First Lab 02: Introduction to Complex Exponentials Multipath. x(t) = A cos(ωt + φ) = Re{Ae jφ e jωt } Signal Processing First Lab 02: Introduction to Complex Exponentials Multipath 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

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

Lecture 3 Complex Exponential Signals

Lecture 3 Complex Exponential Signals Lecture 3 Complex Exponential Signals Fundamentals of Digital Signal Processing Spring, 2012 Wei-Ta Chu 2012/3/1 1 Review of Complex Numbers Using Euler s famous formula for the complex exponential The

More information

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

ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM Spring 2018 What to Turn In: ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM Dr. Havlicek Submit your solution for this assignment electronically on Canvas by uploading a file to ECE-2713-001 > Assignments

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

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering EIE2106 Signal and System Analysis Lab 2 Fourier series 1. Objective The goal of this laboratory exercise is to

More information

Experiments #6. Convolution and Linear Time Invariant Systems

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

More information

1. page xviii, line 23:... conventional. Part of the reason for this...

1. page xviii, line 23:... conventional. Part of the reason for this... DSP First ERRATA. These are mostly typos, double words, misspellings, etc. Underline is not used in the book, so I ve used it to denote changes. JMcClellan, February 22, 2002 1. page xviii, line 23:...

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

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

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

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

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

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

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

ECE 201: Introduction to Signal Analysis. Dr. B.-P. Paris Dept. Electrical and Comp. Engineering George Mason University

ECE 201: Introduction to Signal Analysis. Dr. B.-P. Paris Dept. Electrical and Comp. Engineering George Mason University ECE 201: Introduction to Signal Analysis Dr. B.-P. Paris Dept. Electrical and Comp. Engineering George Mason University Last updated: November 29, 2016 2016, B.-P. Paris ECE 201: Intro to Signal Analysis

More information

ME scope Application Note 01 The FFT, Leakage, and Windowing

ME scope Application Note 01 The FFT, Leakage, and Windowing INTRODUCTION ME scope Application Note 01 The FFT, Leakage, and Windowing NOTE: The steps in this Application Note can be duplicated using any Package that includes the VES-3600 Advanced Signal Processing

More information

ECE 201: Introduction to Signal Analysis

ECE 201: Introduction to Signal Analysis ECE 201: Introduction to Signal Analysis Dr. B.-P. Paris Dept. Electrical and Comp. Engineering George Mason University Last updated: November 29, 2016 2016, B.-P. Paris ECE 201: Intro to Signal Analysis

More information

Lab P-3: Introduction to Complex Exponentials Direction Finding. zvect( [ 1+j, j, 3-4*j, exp(j*pi), exp(2j*pi/3) ] )

Lab P-3: Introduction to Complex Exponentials Direction Finding. zvect( [ 1+j, j, 3-4*j, exp(j*pi), exp(2j*pi/3) ] ) DSP First, 2e Signal Processing First Lab P-3: Introduction to Complex Exponentials Direction Finding Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment

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

Digital Signal Processing Laboratory 1: Discrete Time Signals with MATLAB

Digital Signal Processing Laboratory 1: Discrete Time Signals with MATLAB Digital Signal Processing Laboratory 1: Discrete Time Signals with MATLAB Thursday, 23 September 2010 No PreLab is Required Objective: In this laboratory you will review the basics of MATLAB as a tool

More information

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

Topic 6. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith) Topic 6 The Digital Fourier Transform (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith) 10 20 30 40 50 60 70 80 90 100 0-1 -0.8-0.6-0.4-0.2 0 0.2 0.4

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

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

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

Lab 1: First Order CT Systems, Blockdiagrams, Introduction

Lab 1: First Order CT Systems, Blockdiagrams, Introduction ECEN 3300 Linear Systems Spring 2010 1-18-10 P. Mathys Lab 1: First Order CT Systems, Blockdiagrams, Introduction to Simulink 1 Introduction Many continuous time (CT) systems of practical interest can

More information

Experiment 1 Introduction to MATLAB and Simulink

Experiment 1 Introduction to MATLAB and Simulink Experiment 1 Introduction to MATLAB and Simulink INTRODUCTION MATLAB s Simulink is a powerful modeling tool capable of simulating complex digital communications systems under realistic conditions. It includes

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

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

Lecture 7 Frequency Modulation

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

More information

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

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

More information

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

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

More information

LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS

LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS Eastern Mediterranean University Faculty of Engineering Department of Electrical and Electronic Engineering EENG 360 Communication System I Laboratory LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS General

More information

Frequency Division Multiplexing Spring 2011 Lecture #14. Sinusoids and LTI Systems. Periodic Sequences. x[n] = x[n + N]

Frequency Division Multiplexing Spring 2011 Lecture #14. Sinusoids and LTI Systems. Periodic Sequences. x[n] = x[n + N] Frequency Division Multiplexing 6.02 Spring 20 Lecture #4 complex exponentials discrete-time Fourier series spectral coefficients band-limited signals To engineer the sharing of a channel through frequency

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

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

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

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b Exam 1 February 3, 006 Each subquestion is worth 10 points. 1. Consider a periodic sawtooth waveform x(t) with period T 0 = 1 sec shown below: (c) x(n)= u(n). In this case, show that the output has the

More information

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

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

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

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido The Discrete Fourier Transform Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido CCC-INAOE Autumn 2015 The Discrete Fourier Transform Fourier analysis is a family of mathematical

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

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

Lab S-7: Spectrograms of AM and FM Signals. 2. Study the frequency resolution of the spectrogram for two closely spaced sinusoids.

Lab S-7: Spectrograms of AM and FM Signals. 2. Study the frequency resolution of the spectrogram for two closely spaced sinusoids. DSP First, 2e Signal Processing First Lab S-7: Spectrograms of AM and FM Signals 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

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

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

Sinusoids. Lecture #2 Chapter 2. BME 310 Biomedical Computing - J.Schesser

Sinusoids. Lecture #2 Chapter 2. BME 310 Biomedical Computing - J.Schesser Sinusoids Lecture # Chapter BME 30 Biomedical Computing - 8 What Is this Course All About? To Gain an Appreciation of the Various Types of Signals and Systems To Analyze The Various Types of Systems To

More information

DSP First. Laboratory Exercise #4. AM and FM Sinusoidal Signals

DSP First. Laboratory Exercise #4. AM and FM Sinusoidal Signals DSP First Laboratory Exercise #4 AM and FM Sinusoidal Signals The objective of this lab is to introduce more complicated signals that are related to the basic sinusoid. These are signals which implement

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

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

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal.

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal. 1 2.1 BASIC CONCEPTS 2.1.1 Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal. 2 Time Scaling. Figure 2.4 Time scaling of a signal. 2.1.2 Classification of Signals

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

Data Acquisition Systems. Signal DAQ System The Answer?

Data Acquisition Systems. Signal DAQ System The Answer? Outline Analysis of Waveforms and Transforms How many Samples to Take Aliasing Negative Spectrum Frequency Resolution Synchronizing Sampling Non-repetitive Waveforms Picket Fencing A Sampled Data System

More information

Fourier and Wavelets

Fourier and Wavelets Fourier and Wavelets Why do we need a Transform? Fourier Transform and the short term Fourier (STFT) Heisenberg Uncertainty Principle The continues Wavelet Transform Discrete Wavelet Transform Wavelets

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

SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept.

SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept. 2012 Signals and Systems: Laboratory 1 1 SIGNALS AND SYSTEMS: 3C1 LABORATORY 1. 1 Dr. David Corrigan Electronic and Electrical Engineering Dept. corrigad@tcd.ie www.mee.tcd.ie/ corrigad The aims of this

More information

Lecture 3, Multirate Signal Processing

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

More information

Lab S-8: Spectrograms: Harmonic Lines & Chirp Aliasing

Lab S-8: Spectrograms: Harmonic Lines & Chirp Aliasing DSP First, 2e Signal Processing First Lab S-8: Spectrograms: Harmonic Lines & Chirp Aliasing Pre-Lab: Read the Pre-Lab and do all the exercises in the Pre-Lab section prior to attending lab. Verification:

More information

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

Recall. Sampling. Why discrete time? Why discrete time? Many signals are continuous-time signals Light Object wave CCD Recall Many signals are continuous-time signals Light Object wave CCD Sampling mic Lens change of voltage change of voltage 2 Why discrete time? With the advance of computer technology, we want to process

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

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

Final Exam Solutions June 14, 2006

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

More information

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

Lab 4: First/Second Order DT Systems and a Communications Example (Second Draft)

Lab 4: First/Second Order DT Systems and a Communications Example (Second Draft) ECEN 33 Linear Systems Spring 3-- P. Mathys Lab 4: First/Second Order DT Systems and a Communications Example (Second Draft Introduction The main components from which linear and time-invariant discrete-time

More information

FFT analysis in practice

FFT analysis in practice FFT analysis in practice Perception & Multimedia Computing Lecture 13 Rebecca Fiebrink Lecturer, Department of Computing Goldsmiths, University of London 1 Last Week Review of complex numbers: rectangular

More information

Lecture 17 z-transforms 2

Lecture 17 z-transforms 2 Lecture 17 z-transforms 2 Fundamentals of Digital Signal Processing Spring, 2012 Wei-Ta Chu 2012/5/3 1 Factoring z-polynomials We can also factor z-transform polynomials to break down a large system into

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

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

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

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

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

Analyzing A/D and D/A converters

Analyzing A/D and D/A converters Analyzing A/D and D/A converters 2013. 10. 21. Pálfi Vilmos 1 Contents 1 Signals 3 1.1 Periodic signals 3 1.2 Sampling 4 1.2.1 Discrete Fourier transform... 4 1.2.2 Spectrum of sampled signals... 5 1.2.3

More information

EE 464 Short-Time Fourier Transform Fall and Spectrogram. Many signals of importance have spectral content that

EE 464 Short-Time Fourier Transform Fall and Spectrogram. Many signals of importance have spectral content that EE 464 Short-Time Fourier Transform Fall 2018 Read Text, Chapter 4.9. and Spectrogram Many signals of importance have spectral content that changes with time. Let xx(nn), nn = 0, 1,, NN 1 1 be a discrete-time

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

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

Frequency-Domain Sharing and Fourier Series

Frequency-Domain Sharing and Fourier Series MIT 6.02 DRAFT Lecture Notes Fall 200 (Last update: November 9, 200) Comments, questions or bug reports? Please contact 6.02-staff@mit.edu LECTURE 4 Frequency-Domain Sharing and Fourier Series In earlier

More information

Discrete Fourier Transform, DFT Input: N time samples

Discrete Fourier Transform, DFT Input: N time samples EE445M/EE38L.6 Lecture. Lecture objectives are to: The Discrete Fourier Transform Windowing Use DFT to design a FIR digital filter Discrete Fourier Transform, DFT Input: time samples {a n = {a,a,a 2,,a

More information

CHAPTER 4 IMPLEMENTATION OF ADALINE IN MATLAB

CHAPTER 4 IMPLEMENTATION OF ADALINE IN MATLAB 52 CHAPTER 4 IMPLEMENTATION OF ADALINE IN MATLAB 4.1 INTRODUCTION The ADALINE is implemented in MATLAB environment running on a PC. One hundred data samples are acquired from a single cycle of load current

More information

6.02 Practice Problems: Modulation & Demodulation

6.02 Practice Problems: Modulation & Demodulation 1 of 12 6.02 Practice Problems: Modulation & Demodulation Problem 1. Here's our "standard" modulation-demodulation system diagram: at the transmitter, signal x[n] is modulated by signal mod[n] and the

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

Biosignals and Systems

Biosignals and Systems .. -. - Biosignals and Systems Prof. izamettin AYDI naydin@yildiz.edu.tr naydin@ieee.org http://www.yildiz.edu.tr/~naydin Advanced Measurements: Correlations and Covariances More complicated measurements

More information

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

It is the speed and discrete nature of the FFT that allows us to analyze a signal's spectrum with MATLAB. MATLAB Addendum on Fourier Stuff 1. Getting to know the FFT What is the FFT? FFT = Fast Fourier Transform. The FFT is a faster version of the Discrete Fourier Transform(DFT). The FFT utilizes some clever

More information

Final Exam Solutions June 7, 2004

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

More information

Final Exam Practice Questions for Music 421, with Solutions

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

More information