EE 328 Signals and Systems Laboratory

Size: px
Start display at page:

Download "EE 328 Signals and Systems Laboratory"

Transcription

1 EE 328 Signals and Systems Laboratory Spring 2011 Experiment 3: Time Domain Convolution Introduction: This assignment emphasizes how MATLAB can be used to represent continuous-time signals and to approximate continuous-time convolution. In particular, we are going to use MATLAB to rework the Signals and Systems Workbook chapter 1's problem 4, parts (b) and (c). Although you have already been exposed somewhat to MATLAB, we will assume here that you don't have much experience using it (so bear with us if you do). All you have to do is follow along with the tutorial and turn in the specified plots.before you begin, here are some conventions that we will be using: Things that you need to turn in are in bold. Equations and theoretical expressions are in red. Don't enter these directly into MATLAB (it may choke if you try). The actual expressions you need to type into MATLAB are in blue. Objectives: 1) Represent continuous time signals in MATLAB. 2) Use MATLAB to perform basic transformations on continuous time signals. 3) Use MATLAB to perform convolution in time domain. Procedure: This LAB has three parts. In part 1, we will learn how to represent a continuous time signal in MATLAB. In part 2, we will perform some basic operations on continuous time signal, again using MATLAB and finally in part 3, we will perform time domain convolution of continuous time signals. Part 1: Creating a rectangular pulse in MATLAB Consider the rectangular pulse studied in class, which has the following definition: x(t) = 1 for -0.5 sec <= t < 0.5 sec = 0 elsewhere We would like to represent this continuous-time signal in MATLAB. However, digital computers in general (and MATLAB in particular) don't have the ability to cope with continuous-time signals... they can only work on samples of the signal. Thus, we must sample the signal to make it discrete-time. The first thing we must decide is what sample frequency we want to use. A high sample frequency

2 gives a more faithful reproduction of the signal but requires more computer memory to store it (and also more CPU cycles to process it). For our purposes, a sample frequency of f_s = 100 Hz is sufficient. Begin by entering the sample frequency into MATLAB: f_s = 100 If you want your rectangular pulses to have sharper edges, try using f_s = 1000 (although this will make the convolution operation much slower). Another important parameter is the sample period, which is just T_s = 1/f_s, and entered into MATLAB using: T_s = 1/f_s Another thing to consider is that MATLAB can only handle a finite number of samples at a time. Thus we must restrict the time axis to a limited range. I suggest that we only consider the signal in the range -5<= t <= 5 seconds. Now we must create a time axis. This will be a vector containing all the sample instants beginning at t = -5 sec and continuing to t = 5sec. These sample instants are all T_s seconds apart. The time axis is created in MATLAB as follows: t = [-5:T_s:5] The above command generates a vector containing all integer multiples of T_s = 0.01 between -5 and +5 (i.e , -4.99, -4.98,...,4.99, 5.00). If you don't want MATLAB to echo this long vector onto the screen, simply terminate the command with a semicolon: t = [-5:T_s:5]; Now we must generate our rectangular pulse. While MATLAB has built in functions to generate a wide range of signals (such as cos, sin, and exp) it does not have a function to create the rectangular pulse. Thus, one has been created for you. Build the rect.m function from the appendix into your working directory (to find out which directory you are in type pwd and you can use cd to move to a different directory). To learn how to use the rect function type: help rect Also, you should open the file and read through the function. This will give you an idea about how to make your own functions, how to make a for loop, and how to do conditional branching with the if statement. You can open the file by using: edit rect Now let's generate a rectangular pulse: x1 = rect(t); Once it is generated we would like to plot it: plot(t,x1);

3 Note that you always want your time axis to come first. A problem with the plot is that the y-axis only shows values from 0 to 1, and thus you really can't see the pulse very clearly. You can change the field of view of the plot by using the axis command: The first two numbers specify the starting and ending times of the plot (the x-axis), while the last two numbers specify the range of the signal values (y-axis). A plot without labels doesn't give us much information, so next we need to label the axis. You do that as follows: ylabel( 'x_1(t)' ) Finally, let's put a title on the plot: title ('Plot 1: A rectangular pulse') Turn in a copy of this plot with your report. Don t need to include the code. Part 2: Elementary signal operations Now let's try to do some elementary signal operations, such as time-delay, time-scaling, and time-reversal. First let's create and plot the time-delayed signal x2(t) = rect(t-1) x2 = rect(t-1); plot(t,x2) Now let's try to make the time-scaled signal x3(t) = rect(t/2) x3 = rect(t/2); plot(t,x3) We can create a more interesting signal x4(t) = rect(t)+(1/2)rect(t-1) ( Finish the code by yourself similar to the above code) Now let's perform a time-reversal on this signal by forming the new signal x5(t) = x4(-t) = rect(-t)+(1/2)rect(-t-1) Finally, let's create the signal x6(t) = x4(1-t) = rect(1-t)+(1/2)rect(-t) Now, instead of turning in 5 new plots, let's try to save some space by putting all these plots on the same page. You can do that with the subplot command. Enter the following into MATLAB to get a single plot with the proper labels (you might want to cut and paste this): subplot(3,2,1) plot(t,x1)

4 ylabel('x_1(t) = rect(t)') subplot(3,2,3) plot(t,x2) ylabel('x_2(t) = x_1(t-1)') subplot(3,2,5) plot(t,x3) ylabel('x_3(t) = x_1(t/2)') subplot(3,2,2) plot(t,x4) ylabel('x_4(t)') subplot(3,2,4) plot(t,x5) ylabel('x_5(t) = x_4(-t)') subplot(3,2,6) plot(t,x6) ylabel('x_6(t) = x_4(1-t)') You might need to maximize the plot to its fullest size (otherwise you may not be able to read the x-axis label). Turn in this plot with you report. Although you need to write code to generate the x4(t),x5(t) and x6(t), don t include all the code in your report. Part 3: Convolution We can use MATLAB to approximate continuous-time convolution by using the conv function. Take for example, the convolution of two rectangular pulses (using the same time axis t and pulse x1 from part 1):

5 y = conv(x1,x1); Now try plotting y (first use the close statement to close the plot that's already displayed): close all plot ( t, y) Notice what just happened? MATLAB complained because the size of y is now different than the size of t. Check the size of y and t: length(y) length(t) You will notice that length(y) = 2*length(t)-1. What has happened is that MATLAB has given you the signal y(t) over the range -10 sec <= t <= 10 sec, instead of the range -5 sec <= t <= 5 sec used by x1(t). Thus, we need to create a separate time axis for the signal y: t_y = -10:T_s:10; Now we can plot: plot( t_y, y) Now what's wrong with this plot? As expected, we got a triangular pulse. However, the peak of this triangle is f_s = but it should have been at 1. This is because the discrete-time convolution used by MATLAB is slightly different from the continuous-time convolution we have studied in class. In general, when you use MATLAB to perform a continuous-time convolution, the result will be off by a factor of the sample frequency f_s. We can account for this discrepancy as follows: y1 = T_s*conv(x1,x1); Now our plot gives the correct answer: plot(t_y, y1) axis( [ ] ) xlabel( 'time (sec)') ylabel('y_1(t)') title('figure 3: y_1(t) = x_1(t)*x_1(t)') Turn in this plot with your report. Don t include the code. Problems (turn in all the codes and plots with your lab report): 1) Here you will perform convolution on discrete time signals using MATLAB: (1) x(n) = { 1,2,4 }, h(n) = {1,1,1,1,1} (2) x(n) = { 1,2,3,4,5 }, h(n) = {1} (3) x(n) = { 1,2,0,2,1}, h(n) = x(n). Use the Matlab function conv. For each set of signals, plot x(n), h(n) and y(n) as subplots in the same figure.

6 2) Consider a system with an impulse response Determine the input x (n) that will generate the output sequence y(n) = {1, 2, 2.5, 3, 3, 3, 2, 1,0...}. Plot x (n), y (n) and h (n) in one figure. Hint: Use the MATLAB function deconv. 3) Determine the cross-correlation sequence r r xy (n) of the sequences x (n) = {..., 0, 0, 2, -1, 3, 7, 1, 2, -3, 0, 0,...} y(n) = {..., 0, 0, 1, -1, 2, -2, 4, 1, -2, 5, 0, 0,...} Plot x(n), y(n) and r xy (n) in one figure. Hint: Use the MATLAB function xcorr.

7 Appendix function x = rect( t ) RECT rectangular pulse Usage: x = rect(t) This functions takes in a vector t of sample instants and outputs the corresponding rectangular pulse contained in the function x Written by Matthew Valenti For EE 329 Spring 2002 determine the size of the input matrix [m,n] = size(t); make sure the input matrix is actually a vector check_vector = min(m,n); if (check_vector ~= 1) error( 'Input to rect must be a vector' ); end determine the dimensionality K of the input vector K = max(m,n); initialize the output to all zeros x = zeros(m,n); loop through the time vector and assign the output to be equal to one whenever -0.5 <= t < 0.5 for i=1:k if ( ( t(i) >= -0.5)&( t(i) < 0.5) ) x(i) = 1; end end all done... exit function return

Lab 1. The Fourier Transform

Lab 1. The Fourier Transform Lab 1. The Fourier Transform Introduction In the Communication Labs you will be given the opportunity to apply the theory learned in Communication Systems. Since this is your first time to work in the

More information

SGN-1158 Introduction to Signal Processing Test. Solutions

SGN-1158 Introduction to Signal Processing Test. Solutions SGN-1158 Introduction to Signal Processing Test. Solutions 1. Convolve the function ( ) with itself and show that the Fourier transform of the result is the square of the Fourier transform of ( ). (Hints:

More information

Frequency Response of FIR Filters

Frequency Response of FIR Filters Frequency Response of FIR Filters Chapter 6 This chapter continues the study of FIR filters from Chapter 5, but the emphasis is frequency response, which relates to how the filter responds to an input

More information

Euler s Method and Functions

Euler s Method and Functions Chapter 3 Euler s Method and Functions The simplest method for approximately solving a differential equation is Euler s method. One starts with a particular initial value problem of the form dx dt = f(t,

More information

Signal Processing First Lab 01: Introduction to MATLAB. 3. Learn a little about advanced programming techniques for MATLAB, i.e., vectorization.

Signal Processing First Lab 01: Introduction to MATLAB. 3. Learn a little about advanced programming techniques for MATLAB, i.e., vectorization. Signal Processing First Lab 01: Introduction to MATLAB 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

More information

How long is the vector? >> length(x) >> d=size(x) % What are the entries in the matrix d?

How long is the vector? >> length(x) >> d=size(x) % What are the entries in the matrix d? MATLAB : A TUTORIAL 1. Creating vectors..................................... 2 2. Evaluating functions y = f(x), manipulating vectors. 4 3. Plotting............................................ 5 4. Miscellaneous

More information

PYKC Jan-7-10. Lecture 1 Slide 1

PYKC Jan-7-10. Lecture 1 Slide 1 Aims and Objectives E 2.5 Signals & Linear Systems Peter Cheung Department of Electrical & Electronic Engineering Imperial College London! By the end of the course, you would have understood: Basic signal

More information

The Algorithms of Speech Recognition, Programming and Simulating in MATLAB

The Algorithms of Speech Recognition, Programming and Simulating in MATLAB FACULTY OF ENGINEERING AND SUSTAINABLE DEVELOPMENT. The Algorithms of Speech Recognition, Programming and Simulating in MATLAB Tingxiao Yang January 2012 Bachelor s Thesis in Electronics Bachelor s Program

More information

DSP First Laboratory Exercise #9 Sampling and Zooming of Images In this lab we study the application of FIR ltering to the image zooming problem, where lowpass lters are used to do the interpolation needed

More information

AMATH 352 Lecture 3 MATLAB Tutorial Starting MATLAB Entering Variables

AMATH 352 Lecture 3 MATLAB Tutorial Starting MATLAB Entering Variables AMATH 352 Lecture 3 MATLAB Tutorial MATLAB (short for MATrix LABoratory) is a very useful piece of software for numerical analysis. It provides an environment for computation and the visualization. Learning

More information

Curve Fitting, Loglog Plots, and Semilog Plots 1

Curve Fitting, Loglog Plots, and Semilog Plots 1 Curve Fitting, Loglog Plots, and Semilog Plots 1 In this MATLAB exercise, you will learn how to plot data and how to fit lines to your data. Suppose you are measuring the height h of a seedling as it grows.

More information

Beginner s Matlab Tutorial

Beginner s Matlab Tutorial Christopher Lum lum@u.washington.edu Introduction Beginner s Matlab Tutorial This document is designed to act as a tutorial for an individual who has had no prior experience with Matlab. For any questions

More information

MATLAB Functions. function [Out_1,Out_2,,Out_N] = function_name(in_1,in_2,,in_m)

MATLAB Functions. function [Out_1,Out_2,,Out_N] = function_name(in_1,in_2,,in_m) MATLAB Functions What is a MATLAB function? A MATLAB function is a MATLAB program that performs a sequence of operations specified in a text file (called an m-file because it must be saved with a file

More information

Computational Foundations of Cognitive Science

Computational Foundations of Cognitive Science Computational Foundations of Cognitive Science Lecture 15: Convolutions and Kernels Frank Keller School of Informatics University of Edinburgh keller@inf.ed.ac.uk February 23, 2010 Frank Keller Computational

More information

Sampling and Interpolation. Yao Wang Polytechnic University, Brooklyn, NY11201

Sampling and Interpolation. Yao Wang Polytechnic University, Brooklyn, NY11201 Sampling and Interpolation Yao Wang Polytechnic University, Brooklyn, NY1121 http://eeweb.poly.edu/~yao Outline Basics of sampling and quantization A/D and D/A converters Sampling Nyquist sampling theorem

More information

u = [ 2 4 5] has one row with three components (a 3 v = [2 4 5] has three rows separated by semicolons (a 3 w = 2:5 generates the row vector w = [ 2 3

u = [ 2 4 5] has one row with three components (a 3 v = [2 4 5] has three rows separated by semicolons (a 3 w = 2:5 generates the row vector w = [ 2 3 MATLAB Tutorial You need a small numb e r of basic commands to start using MATLAB. This short tutorial describes those fundamental commands. You need to create vectors and matrices, to change them, and

More information

B3. Short Time Fourier Transform (STFT)

B3. Short Time Fourier Transform (STFT) B3. Short Time Fourier Transform (STFT) Objectives: Understand the concept of a time varying frequency spectrum and the spectrogram Understand the effect of different windows on the spectrogram; Understand

More information

6 Scalar, Stochastic, Discrete Dynamic Systems

6 Scalar, Stochastic, Discrete Dynamic Systems 47 6 Scalar, Stochastic, Discrete Dynamic Systems Consider modeling a population of sand-hill cranes in year n by the first-order, deterministic recurrence equation y(n + 1) = Ry(n) where R = 1 + r = 1

More information

CHAPTER 11: Flip Flops

CHAPTER 11: Flip Flops CHAPTER 11: Flip Flops In this chapter, you will be building the part of the circuit that controls the command sequencing. The required circuit must operate the counter and the memory chip. When the teach

More information

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE 101 - Fall 2009 Linear Systems Fundamentals

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE 101 - Fall 2009 Linear Systems Fundamentals UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE 101 - Fall 2009 Linear Systems Fundamentals MIDTERM EXAM You are allowed one 2-sided sheet of notes. No books, no other

More information

FFT Algorithms. Chapter 6. Contents 6.1

FFT Algorithms. Chapter 6. Contents 6.1 Chapter 6 FFT Algorithms Contents Efficient computation of the DFT............................................ 6.2 Applications of FFT................................................... 6.6 Computing DFT

More information

MATLAB Workshop 14 - Plotting Data in MATLAB

MATLAB Workshop 14 - Plotting Data in MATLAB MATLAB: Workshop 14 - Plotting Data in MATLAB page 1 MATLAB Workshop 14 - Plotting Data in MATLAB Objectives: Learn the basics of displaying a data plot in MATLAB. MATLAB Features: graphics commands Command

More information

Summary of important mathematical operations and formulas (from first tutorial):

Summary of important mathematical operations and formulas (from first tutorial): EXCEL Intermediate Tutorial Summary of important mathematical operations and formulas (from first tutorial): Operation Key Addition + Subtraction - Multiplication * Division / Exponential ^ To enter a

More information

Section 10.4 Vectors

Section 10.4 Vectors Section 10.4 Vectors A vector is represented by using a ray, or arrow, that starts at an initial point and ends at a terminal point. Your textbook will always use a bold letter to indicate a vector (such

More information

Probability and Random Variables. Generation of random variables (r.v.)

Probability and Random Variables. Generation of random variables (r.v.) Probability and Random Variables Method for generating random variables with a specified probability distribution function. Gaussian And Markov Processes Characterization of Stationary Random Process Linearly

More information

CD-ROM Appendix E: Matlab

CD-ROM Appendix E: Matlab CD-ROM Appendix E: Matlab Susan A. Fugett Matlab version 7 or 6.5 is a very powerful tool useful for many kinds of mathematical tasks. For the purposes of this text, however, Matlab 7 or 6.5 will be used

More information

MATHEMATICAL SURVEY AND APPLICATION OF THE CROSS-AMBIGUITY FUNCTION

MATHEMATICAL SURVEY AND APPLICATION OF THE CROSS-AMBIGUITY FUNCTION MATHEMATICAL SURVEY AND APPLICATION OF THE CROSS-AMBIGUITY FUNCTION Dennis Vandenberg Department of Mathematical Sciences Indiana University South Bend E-mail Address: djvanden@iusb.edu Submitted to the

More information

Lecture 8 ELE 301: Signals and Systems

Lecture 8 ELE 301: Signals and Systems Lecture 8 ELE 3: Signals and Systems Prof. Paul Cuff Princeton University Fall 2-2 Cuff (Lecture 7) ELE 3: Signals and Systems Fall 2-2 / 37 Properties of the Fourier Transform Properties of the Fourier

More information

1.4 Fast Fourier Transform (FFT) Algorithm

1.4 Fast Fourier Transform (FFT) Algorithm 74 CHAPTER AALYSIS OF DISCRETE-TIME LIEAR TIME-IVARIAT SYSTEMS 4 Fast Fourier Transform (FFT Algorithm Fast Fourier Transform, or FFT, is any algorithm for computing the -point DFT with a computational

More information

10 Discrete-Time Fourier Series

10 Discrete-Time Fourier Series 10 Discrete-Time Fourier Series In this and the next lecture we parallel for discrete time the discussion of the last three lectures for continuous time. Specifically, we consider the representation of

More information

Excel Tutorial. Bio 150B Excel Tutorial 1

Excel Tutorial. Bio 150B Excel Tutorial 1 Bio 15B Excel Tutorial 1 Excel Tutorial As part of your laboratory write-ups and reports during this semester you will be required to collect and present data in an appropriate format. To organize and

More information

1.1 Discrete-Time Fourier Transform

1.1 Discrete-Time Fourier Transform 1.1 Discrete-Time Fourier Transform The discrete-time Fourier transform has essentially the same properties as the continuous-time Fourier transform, and these properties play parallel roles in continuous

More information

Elements of a graph. Click on the links below to jump directly to the relevant section

Elements of a graph. Click on the links below to jump directly to the relevant section Click on the links below to jump directly to the relevant section Elements of a graph Linear equations and their graphs What is slope? Slope and y-intercept in the equation of a line Comparing lines on

More information

3 Signals and Systems: Part II

3 Signals and Systems: Part II 3 Signals and Systems: Part II Recommended Problems P3.1 Sketch each of the following signals. (a) x[n] = b[n] + 3[n - 3] (b) x[n] = u[n] - u[n - 5] (c) x[n] = 6[n] + 1n + (i)2 [n - 2] + (i)ag[n - 3] (d)

More information

EE 402 RECITATION #13 REPORT

EE 402 RECITATION #13 REPORT MIDDLE EAST TECHNICAL UNIVERSITY EE 402 RECITATION #13 REPORT LEAD-LAG COMPENSATOR DESIGN F. Kağan İPEK Utku KIRAN Ç. Berkan Şahin 5/16/2013 Contents INTRODUCTION... 3 MODELLING... 3 OBTAINING PTF of OPEN

More information

PLOTTING IN SCILAB. www.openeering.com

PLOTTING IN SCILAB. www.openeering.com powered by PLOTTING IN SCILAB In this Scilab tutorial we make a collection of the most important plots arising in scientific and engineering applications and we show how straightforward it is to create

More information

6 Systems Represented by Differential and Difference Equations

6 Systems Represented by Differential and Difference Equations 6 Systems Represented by ifferential and ifference Equations An important class of linear, time-invariant systems consists of systems represented by linear constant-coefficient differential equations in

More information

Final Year Project Progress Report. Frequency-Domain Adaptive Filtering. Myles Friel. Supervisor: Dr.Edward Jones

Final Year Project Progress Report. Frequency-Domain Adaptive Filtering. Myles Friel. Supervisor: Dr.Edward Jones Final Year Project Progress Report Frequency-Domain Adaptive Filtering Myles Friel 01510401 Supervisor: Dr.Edward Jones Abstract The Final Year Project is an important part of the final year of the Electronic

More information

How To Draw A Circle Of Radius 1 On A Computer (For A Computer)

How To Draw A Circle Of Radius 1 On A Computer (For A Computer) 1. Objective University of Cincinnati Department of Electrical & Computer Engineering and Computer Science 20 ENFD 112 Fundamentals of Programming Laboratory 2: Modeling, Scripting, Visualization Spring

More information

0 Introduction to Data Analysis Using an Excel Spreadsheet

0 Introduction to Data Analysis Using an Excel Spreadsheet Experiment 0 Introduction to Data Analysis Using an Excel Spreadsheet I. Purpose The purpose of this introductory lab is to teach you a few basic things about how to use an EXCEL 2010 spreadsheet to do

More information

DIODE CIRCUITS LABORATORY. Fig. 8.1a Fig 8.1b

DIODE CIRCUITS LABORATORY. Fig. 8.1a Fig 8.1b DIODE CIRCUITS LABORATORY A solid state diode consists of a junction of either dissimilar semiconductors (pn junction diode) or a metal and a semiconductor (Schottky barrier diode). Regardless of the type,

More information

Lecture 2 Mathcad Basics

Lecture 2 Mathcad Basics Operators Lecture 2 Mathcad Basics + Addition, - Subtraction, * Multiplication, / Division, ^ Power ( ) Specify evaluation order Order of Operations ( ) ^ highest level, first priority * / next priority

More information

Chapter 8 - Power Density Spectrum

Chapter 8 - Power Density Spectrum EE385 Class Notes 8/8/03 John Stensby Chapter 8 - Power Density Spectrum Let X(t) be a WSS random process. X(t) has an average power, given in watts, of E[X(t) ], a constant. his total average power is

More information

MATLAB Programming. Problem 1: Sequential

MATLAB Programming. Problem 1: Sequential Division of Engineering Fundamentals, Copyright 1999 by J.C. Malzahn Kampe 1 / 21 MATLAB Programming When we use the phrase computer solution, it should be understood that a computer will only follow directions;

More information

Vector Notation: AB represents the vector from point A to point B on a graph. The vector can be computed by B A.

Vector Notation: AB represents the vector from point A to point B on a graph. The vector can be computed by B A. 1 Linear Transformations Prepared by: Robin Michelle King A transformation of an object is a change in position or dimension (or both) of the object. The resulting object after the transformation is called

More information

The Z transform (3) 1

The Z transform (3) 1 The Z transform (3) 1 Today Analysis of stability and causality of LTI systems in the Z domain The inverse Z Transform Section 3.3 (read class notes first) Examples 3.9, 3.11 Properties of the Z Transform

More information

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP Department of Electrical and Computer Engineering Ben-Gurion University of the Negev LAB 1 - Introduction to USRP - 1-1 Introduction In this lab you will use software reconfigurable RF hardware from National

More information

Infrared Spectroscopy: Theory

Infrared Spectroscopy: Theory u Chapter 15 Infrared Spectroscopy: Theory An important tool of the organic chemist is Infrared Spectroscopy, or IR. IR spectra are acquired on a special instrument, called an IR spectrometer. IR is used

More information

AP PHYSICS C Mechanics - SUMMER ASSIGNMENT FOR 2016-2017

AP PHYSICS C Mechanics - SUMMER ASSIGNMENT FOR 2016-2017 AP PHYSICS C Mechanics - SUMMER ASSIGNMENT FOR 2016-2017 Dear Student: The AP physics course you have signed up for is designed to prepare you for a superior performance on the AP test. To complete material

More information

Experiment 3: Double Sideband Modulation (DSB)

Experiment 3: Double Sideband Modulation (DSB) Experiment 3: Double Sideband Modulation (DSB) This experiment examines the characteristics of the double-sideband (DSB) linear modulation process. The demodulation is performed coherently and its strict

More information

The continuous and discrete Fourier transforms

The continuous and discrete Fourier transforms FYSA21 Mathematical Tools in Science The continuous and discrete Fourier transforms Lennart Lindegren Lund Observatory (Department of Astronomy, Lund University) 1 The continuous Fourier transform 1.1

More information

Em bedded DSP : I ntroduction to Digital Filters

Em bedded DSP : I ntroduction to Digital Filters Embedded DSP : Introduction to Digital Filters 1 Em bedded DSP : I ntroduction to Digital Filters Digital filters are a important part of DSP. In fact their extraordinary performance is one of the keys

More information

AP Physics - Vector Algrebra Tutorial

AP Physics - Vector Algrebra Tutorial AP Physics - Vector Algrebra Tutorial Thomas Jefferson High School for Science and Technology AP Physics Team Summer 2013 1 CONTENTS CONTENTS Contents 1 Scalars and Vectors 3 2 Rectangular and Polar Form

More information

Reflection and Refraction

Reflection and Refraction Equipment Reflection and Refraction Acrylic block set, plane-concave-convex universal mirror, cork board, cork board stand, pins, flashlight, protractor, ruler, mirror worksheet, rectangular block worksheet,

More information

Solving ODEs in Matlab. BP205 M.Tremont 1.30.2009

Solving ODEs in Matlab. BP205 M.Tremont 1.30.2009 Solving ODEs in Matlab BP205 M.Tremont 1.30.2009 - Outline - I. Defining an ODE function in an M-file II. III. IV. Solving first-order ODEs Solving systems of first-order ODEs Solving higher order ODEs

More information

Financial Econometrics MFE MATLAB Introduction. Kevin Sheppard University of Oxford

Financial Econometrics MFE MATLAB Introduction. Kevin Sheppard University of Oxford Financial Econometrics MFE MATLAB Introduction Kevin Sheppard University of Oxford October 21, 2013 2007-2013 Kevin Sheppard 2 Contents Introduction i 1 Getting Started 1 2 Basic Input and Operators 5

More information

An Introduction to Using Simulink

An Introduction to Using Simulink An Introduction to Using Simulink Eric Peasley, Department of Engineering Science, University of Oxford version 4.0, 2013 An Introduction To Using Simulink. Eric Peasley, Department of Engineering Science,

More information

CMPT 468: Matlab Tutorial 3: Analysis with the Fast Fourier Transform (FFT)

CMPT 468: Matlab Tutorial 3: Analysis with the Fast Fourier Transform (FFT) CMPT 468: Matlab Tutorial 3: Analysis with the Fast Fourier Transform (FFT) Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University September 24, 2013 This tutorial is available

More information

Understanding CIC Compensation Filters

Understanding CIC Compensation Filters Understanding CIC Compensation Filters April 2007, ver. 1.0 Application Note 455 Introduction f The cascaded integrator-comb (CIC) filter is a class of hardware-efficient linear phase finite impulse response

More information

Copyright 2007 by Laura Schultz. All rights reserved. Page 1 of 5

Copyright 2007 by Laura Schultz. All rights reserved. Page 1 of 5 Using Your TI-83/84 Calculator: Linear Correlation and Regression Elementary Statistics Dr. Laura Schultz This handout describes how to use your calculator for various linear correlation and regression

More information

Lecture 1-6: Noise and Filters

Lecture 1-6: Noise and Filters Lecture 1-6: Noise and Filters Overview 1. Periodic and Aperiodic Signals Review: by periodic signals, we mean signals that have a waveform shape that repeats. The time taken for the waveform to repeat

More information

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE 101 - Fall 2010 Linear Systems Fundamentals

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE 101 - Fall 2010 Linear Systems Fundamentals UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE 101 - Fall 2010 Linear Systems Fundamentals FINAL EXAM WITH SOLUTIONS (YOURS!) You are allowed one 2-sided sheet of

More information

2+2 Just type and press enter and the answer comes up ans = 4

2+2 Just type and press enter and the answer comes up ans = 4 Demonstration Red text = commands entered in the command window Black text = Matlab responses Blue text = comments 2+2 Just type and press enter and the answer comes up 4 sin(4)^2.5728 The elementary functions

More information

ANALYTICAL METHODS FOR ENGINEERS

ANALYTICAL METHODS FOR ENGINEERS UNIT 1: Unit code: QCF Level: 4 Credit value: 15 ANALYTICAL METHODS FOR ENGINEERS A/601/1401 OUTCOME - TRIGONOMETRIC METHODS TUTORIAL 1 SINUSOIDAL FUNCTION Be able to analyse and model engineering situations

More information

Tutorial Program. 1. Basics

Tutorial Program. 1. Basics 1. Basics Working environment Dealing with matrices Useful functions Logical operators Saving and loading Data management Exercises 2. Programming Basics graphics settings - ex Functions & scripts Vectorization

More information

How To Understand The Nyquist Sampling Theorem

How To Understand The Nyquist Sampling Theorem Nyquist Sampling Theorem By: Arnold Evia Table of Contents What is the Nyquist Sampling Theorem? Bandwidth Sampling Impulse Response Train Fourier Transform of Impulse Response Train Sampling in the Fourier

More information

Experiment 5. Lasers and laser mode structure

Experiment 5. Lasers and laser mode structure Northeastern University, PHYS5318 Spring 2014, 1 1. Introduction Experiment 5. Lasers and laser mode structure The laser is a very important optical tool that has found widespread use in science and industry,

More information

Correlation in Random Variables

Correlation in Random Variables Correlation in Random Variables Lecture 11 Spring 2002 Correlation in Random Variables Suppose that an experiment produces two random variables, X and Y. What can we say about the relationship between

More information

Immunophenotyping Flow Cytometry Tutorial. Contents. Experimental Requirements...1. Data Storage...2. Voltage Adjustments...3. Compensation...

Immunophenotyping Flow Cytometry Tutorial. Contents. Experimental Requirements...1. Data Storage...2. Voltage Adjustments...3. Compensation... Immunophenotyping Flow Cytometry Tutorial Contents Experimental Requirements...1 Data Storage...2 Voltage Adjustments...3 Compensation...5 Experimental Requirements For immunophenotyping with FITC and

More information

Interactive Web-based Calculus Projects at Hollins University: Student Solutions

Interactive Web-based Calculus Projects at Hollins University: Student Solutions Interactive Web-based Calculus Projects at Hollins University: Student Solutions Julie M. Clark and Patricia W. Hammer Department of Mathematics and Statistics Hollins University Roanoke, Virginia jclark@hollins.edu

More information

by the matrix A results in a vector which is a reflection of the given

by the matrix A results in a vector which is a reflection of the given Eigenvalues & Eigenvectors Example Suppose Then So, geometrically, multiplying a vector in by the matrix A results in a vector which is a reflection of the given vector about the y-axis We observe that

More information

Vector Algebra II: Scalar and Vector Products

Vector Algebra II: Scalar and Vector Products Chapter 2 Vector Algebra II: Scalar and Vector Products We saw in the previous chapter how vector quantities may be added and subtracted. In this chapter we consider the products of vectors and define

More information

EE 179 April 21, 2014 Digital and Analog Communication Systems Handout #16 Homework #2 Solutions

EE 179 April 21, 2014 Digital and Analog Communication Systems Handout #16 Homework #2 Solutions EE 79 April, 04 Digital and Analog Communication Systems Handout #6 Homework # Solutions. Operations on signals (Lathi& Ding.3-3). For the signal g(t) shown below, sketch: a. g(t 4); b. g(t/.5); c. g(t

More information

Part 1: Background - Graphing

Part 1: Background - Graphing Department of Physics and Geology Graphing Astronomy 1401 Equipment Needed Qty Computer with Data Studio Software 1 1.1 Graphing Part 1: Background - Graphing In science it is very important to find and

More information

Programming Your Calculator Casio fx-7400g PLUS

Programming Your Calculator Casio fx-7400g PLUS Programming Your Calculator Casio fx-7400g PLUS Barry Kissane Programming Your Calculator: Casio fx-7400g PLUS Published by Shriro Australia Pty Limited 72-74 Gibbes Street, Chatswood NSW 2067, Australia

More information

Analysis of System Performance IN2072 Chapter M Matlab Tutorial

Analysis of System Performance IN2072 Chapter M Matlab Tutorial Chair for Network Architectures and Services Prof. Carle Department of Computer Science TU München Analysis of System Performance IN2072 Chapter M Matlab Tutorial Dr. Alexander Klein Prof. Dr.-Ing. Georg

More information

The purposes of this experiment are to test Faraday's Law qualitatively and to test Lenz's Law.

The purposes of this experiment are to test Faraday's Law qualitatively and to test Lenz's Law. 260 17-1 I. THEORY EXPERIMENT 17 QUALITATIVE STUDY OF INDUCED EMF Along the extended central axis of a bar magnet, the magnetic field vector B r, on the side nearer the North pole, points away from this

More information

Signal Detection C H A P T E R 14 14.1 SIGNAL DETECTION AS HYPOTHESIS TESTING

Signal Detection C H A P T E R 14 14.1 SIGNAL DETECTION AS HYPOTHESIS TESTING C H A P T E R 4 Signal Detection 4. SIGNAL DETECTION AS HYPOTHESIS TESTING In Chapter 3 we considered hypothesis testing in the context of random variables. The detector resulting in the minimum probability

More information

Absorbance Spectrophotometry: Analysis of FD&C Red Food Dye #40 Calibration Curve Procedure

Absorbance Spectrophotometry: Analysis of FD&C Red Food Dye #40 Calibration Curve Procedure Absorbance Spectrophotometry: Analysis of FD&C Red Food Dye #40 Calibration Curve Procedure Note: there is a second document that goes with this one! 2046 - Absorbance Spectrophotometry. Make sure you

More information

23 Identification of a Response Amplitude Operator from Data

23 Identification of a Response Amplitude Operator from Data 23 IDENTIFICATION OF A RESPONSE AMPLITUDE OPERATOR FROM DATA 75 23 Identification of a Response Amplitude Operator from Data Load the data file homework5.dat from the course website. The first column is

More information

TEACHING AUTOMATIC CONTROL IN NON-SPECIALIST ENGINEERING SCHOOLS

TEACHING AUTOMATIC CONTROL IN NON-SPECIALIST ENGINEERING SCHOOLS TEACHING AUTOMATIC CONTROL IN NON-SPECIALIST ENGINEERING SCHOOLS J.A.Somolinos 1, R. Morales 2, T.Leo 1, D.Díaz 1 and M.C. Rodríguez 1 1 E.T.S. Ingenieros Navales. Universidad Politécnica de Madrid. Arco

More information

2 Signals and Systems: Part I

2 Signals and Systems: Part I 2 Signals and Systems: Part I In this lecture, we consider a number of basic signals that will be important building blocks later in the course. Specifically, we discuss both continuoustime and discrete-time

More information

9 Fourier Transform Properties

9 Fourier Transform Properties 9 Fourier Transform Properties The Fourier transform is a major cornerstone in the analysis and representation of signals and linear, time-invariant systems, and its elegance and importance cannot be overemphasized.

More information

The Basics of FEA Procedure

The Basics of FEA Procedure CHAPTER 2 The Basics of FEA Procedure 2.1 Introduction This chapter discusses the spring element, especially for the purpose of introducing various concepts involved in use of the FEA technique. A spring

More information

EDEXCEL NATIONAL CERTIFICATE/DIPLOMA MECHANICAL PRINCIPLES AND APPLICATIONS NQF LEVEL 3 OUTCOME 1 - LOADING SYSTEMS

EDEXCEL NATIONAL CERTIFICATE/DIPLOMA MECHANICAL PRINCIPLES AND APPLICATIONS NQF LEVEL 3 OUTCOME 1 - LOADING SYSTEMS EDEXCEL NATIONAL CERTIFICATE/DIPLOMA MECHANICAL PRINCIPLES AND APPLICATIONS NQF LEVEL 3 OUTCOME 1 - LOADING SYSTEMS TUTORIAL 1 NON-CONCURRENT COPLANAR FORCE SYSTEMS 1. Be able to determine the effects

More information

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop. Objectives Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop. describe how such a flip-flop can be SET and RESET. describe the disadvantage

More information

Design of Efficient Digital Interpolation Filters for Integer Upsampling. Daniel B. Turek

Design of Efficient Digital Interpolation Filters for Integer Upsampling. Daniel B. Turek Design of Efficient Digital Interpolation Filters for Integer Upsampling by Daniel B. Turek Submitted to the Department of Electrical Engineering and Computer Science in partial fulfillment of the requirements

More information

Physics 202 Problems - Week 8 Worked Problems Chapter 25: 7, 23, 36, 62, 72

Physics 202 Problems - Week 8 Worked Problems Chapter 25: 7, 23, 36, 62, 72 Physics 202 Problems - Week 8 Worked Problems Chapter 25: 7, 23, 36, 62, 72 Problem 25.7) A light beam traveling in the negative z direction has a magnetic field B = (2.32 10 9 T )ˆx + ( 4.02 10 9 T )ŷ

More information

= V peak 2 = 0.707V peak

= V peak 2 = 0.707V peak BASIC ELECTRONICS - RECTIFICATION AND FILTERING PURPOSE Suppose that you wanted to build a simple DC electronic power supply, which operated off of an AC input (e.g., something you might plug into a standard

More information

ECE 3510 Final given: Spring 11

ECE 3510 Final given: Spring 11 ECE 50 Final given: Spring This part of the exam is Closed book, Closed notes, No Calculator.. ( pts) For each of the time-domain signals shown, draw the poles of the signal's Laplace transform on the

More information

TWO-DIMENSIONAL TRANSFORMATION

TWO-DIMENSIONAL TRANSFORMATION CHAPTER 2 TWO-DIMENSIONAL TRANSFORMATION 2.1 Introduction As stated earlier, Computer Aided Design consists of three components, namely, Design (Geometric Modeling), Analysis (FEA, etc), and Visualization

More information

Quantitative vs. Categorical Data: A Difference Worth Knowing Stephen Few April 2005

Quantitative vs. Categorical Data: A Difference Worth Knowing Stephen Few April 2005 Quantitative vs. Categorical Data: A Difference Worth Knowing Stephen Few April 2005 When you create a graph, you step through a series of choices, including which type of graph you should use and several

More information

Computer exercise 2: Least Mean Square (LMS)

Computer exercise 2: Least Mean Square (LMS) 1 Computer exercise 2: Least Mean Square (LMS) This computer exercise deals with the LMS algorithm, which is derived from the method of steepest descent by replacing R = E{u(n)u H (n)} and p = E{u(n)d

More information

Analog and Digital Signals, Time and Frequency Representation of Signals

Analog and Digital Signals, Time and Frequency Representation of Signals 1 Analog and Digital Signals, Time and Frequency Representation of Signals Required reading: Garcia 3.1, 3.2 CSE 3213, Fall 2010 Instructor: N. Vlajic 2 Data vs. Signal Analog vs. Digital Analog Signals

More information

RLC Series Resonance

RLC Series Resonance RLC Series Resonance 11EM Object: The purpose of this laboratory activity is to study resonance in a resistor-inductor-capacitor (RLC) circuit by examining the current through the circuit as a function

More information

To launch the Microsoft Excel program, locate the Microsoft Excel icon, and double click.

To launch the Microsoft Excel program, locate the Microsoft Excel icon, and double click. EDIT202 Spreadsheet Lab Assignment Guidelines Getting Started 1. For this lab you will modify a sample spreadsheet file named Starter- Spreadsheet.xls which is available for download from the Spreadsheet

More information

Armstrong Atlantic State University Engineering Studies MATLAB Marina Image Processing Primer

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

More information

Linear Algebra and TI 89

Linear Algebra and TI 89 Linear Algebra and TI 89 Abdul Hassen and Jay Schiffman This short manual is a quick guide to the use of TI89 for Linear Algebra. We do this in two sections. In the first section, we will go over the editing

More information

Simple Programming in MATLAB. Plotting a graph using MATLAB involves three steps:

Simple Programming in MATLAB. Plotting a graph using MATLAB involves three steps: Simple Programming in MATLAB Plotting Graphs: We will plot the graph of the function y = f(x) = e 1.5x sin(8πx), 0 x 1 Plotting a graph using MATLAB involves three steps: Create points 0 = x 1 < x 2

More information

Basics of STATA. 1 Data les. 2 Loading data into STATA

Basics of STATA. 1 Data les. 2 Loading data into STATA Basics of STATA This handout is intended as an introduction to STATA. STATA is available on the PCs in the computer lab as well as on the Unix system. Throughout, bold type will refer to STATA commands,

More information