Signal Processing First Lab 01: Introduction to MATLAB. 3. Learn a little about advanced programming techniques for MATLAB, i.e., vectorization.
|
|
|
- Derek York
- 10 years ago
- Views:
Transcription
1 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 before going to your assigned lab session. Verification: The Warm-up section of each lab must be completed during your assigned Lab time and the steps marked Instructor Verification must also be signed off during the lab time. One of the laboratory instructors must verify the appropriate steps by signing on the Instructor Verification line. When you have completed a step that requires verification, simply demonstrate the step to the TA or instructor. Turn in the completed verification sheet to your TA when you leave the lab. Lab Report: It is only necessary to turn in a report on Section 3 with graphs and explanations. You are asked to label the axes of your plots and include a title for every plot. In order to keep track of plots, include your plot inlined within your report. If you are unsure about what is expected, ask the TA who will grade your report. 1 Pre-Lab In this first week, the Pre-Lab will be extremely short and very easy. Make sure that you read through the information below prior to coming to lab. 1.1 Overview MATLAB will be used extensively in all the labs. The primary goal of this lab is to familiarize yourself with using MATLAB. Please read Appendix B: Programming in MATLAB for an overview. Here are three specific goals for this lab: 1. Learn basic MATLAB commands and syntax, including the help system. 2. Learn to write and edit your own script files in MATLAB, and run them as commands. 3. Learn a little about advanced programming techniques for MATLAB, i.e., vectorization. 1.2 Movies: MATLAB Tutorials In Appendix B, there are a large number of Real-media movies on basic topics in MATLAB, e.g., colon operator, indexing, functions, etc. 1.3 Getting Started After logging in, you can start MATLAB by double-clicking on a MATLAB icon, typing matlab in a terminal window, or by selecting MATLAB from a menu such as the START menu under Windows-95/98/NT. The following steps will introduce you to MATLAB. (a) View the MATLAB introduction by typing intro at the MATLAB prompt. This short introduction will demonstrate some of the basics of using MATLAB. 1
2 (b) Run the MATLAB help desk by typing helpdesk. The help desk provides a hypertext interface to the MATLAB documentation. The MATLAB preferences can be set to use Netscape or Internet Explorer as the browser for help. Two links of interest are Getting Help (at the bottom of the right-hand frame), and Getting Started which is under MATLAB in the left-hand frame. (c) Explore the MATLAB help capability available at the command line. Try the following: help help plot help colon %<--- a VERY IMPORTANT notation help ops help zeros help ones lookfor filter %<--- keyword search NOTE: it is possible to force MATLAB to display only one screen-full of information at once by issuing the command more on). (d) Run the MATLAB demos: type demo and explore a variety of basic MATLAB commands and plots. (e) Use MATLAB as a calculator. Try the following: pi*pi - 10 sin(pi/4) ans ˆ 2 %<--- "ans" holds the last result (f) Do variable name assignment in MATLAB. Try the following: x = sin( pi/5 ); cos( pi/5 ) %<--- assigned to what? y = sqrt( 1 - x*x ) ans (g) Complex numbers are natural in MATLAB. The basic operations are supported. Try the following: z = 3 + 4i, w = j real(z), imag(z) abs([z,w]) %<-- Vector constructor conj(z+w) angle(z) exp( j*pi ) exp(j*[ pi/4, 0, -pi/4 ]) 2 Warm-Up 2.1 MATLAB Array Indexing (a) Make sure that you understand the colon notation. In particular, explain in words what the following MATLAB code will produce jkl = 0 : 6 jkl = 2 : 4 : 17 jkl = 99 : -1 : 88 ttt = 2 : (1/9) : 4 tpi = pi * [ 0:0.1:2 ]; 2
3 (b) Extracting and/or inserting numbers into a vector is very easy to do. Consider the following definition of xx: xx = [ zeros(1,3), linspace(0,1,5), ones(1,4) ] xx(4:6) size(xx) length(xx) xx(2:2:length(xx)) Explain the results echoed from the last four lines of the above code. (c) Observe the result of the following assignments: yy = xx; yy(4:6) = pi*(1:3) Now write a statement that will take the vector xx defined in part (b) and replace the even indexed elements (i.e., xx(2), xx(4), etc) with the constant π π. Use a vector replacement, not a loop. 2.2 MATLAB Script Files (a) Experiment with vectors in MATLAB. Think of the vector as a set of numbers. Try the following: xk = cos( pi*(0:11)/4 ) %<---comment: compute cosines Explain how the different values of cosine are stored in the vector xk. What is xk(1)? Is xk(0) defined? NOTES: the semicolon at the end of a statement will suppress the echo to the screen. The text following the % is a comment; it may be omitted. (b) (A taste of vectorization) Loops can be written in MATLAB, but they are NOT the most efficient way to get things done. It s better to always avoid loops and use the colon notation instead. The following code has a loop that computes values of the cosine function. (The index of yy() must start at 1.) Rewrite this computation without using the loop (follow the style in the previous part). yy = [ ]; %<--- initialize the yy vector to be empty for k=-5:5 yy(k+6) = cos( k*pi/3 ) end yy Explain why it is necessary to write yy(k+6). What happens if you use yy(k) instead? (c) Plotting is easy in MATLAB for both real and complex numbers. The basic plot command will plot a vector y versus a vector x connecting successive points by straight lines. Try the following: x = [ ]; y = x.*x - 3*x; plot( x, y ) z = x + y*sqrt(-1) plot( z ) %<---- complex values: plot imag vs. real Use help arith to learn how the operation xx.*xx works when xx is a vector; compare to matrix multiply. When unsure about a command, use help. 3
4 (d) Use the built-in MATLAB editor (on Windows-95/98/NT), or an external one such as EMACS on UNIX/LINUX, to create a script file called mylab1.m containing the following lines: tt = -1 : 0.01 : 1; xx = cos( 5*pi*tt ); zz = 1.4*exp(j*pi/2)*exp(j*5*pi*tt); plot( tt, xx, b-, tt, real(zz), r-- ), grid on %<--- plot a sinusoid title( TEST PLOT of a SINUSOID ) xlabel( TIME (sec) ) Explain why the plot of real(zz) is a sinusoid. What is its phase and amplitude? Make a calculation of the phase from a time-shift measured on the plot. (e) Run your script from MATLAB. To run the file mylab1 that you created previously, try mylab1 type mylab1 2.3 MATLAB Sound (optional) %<---will run the commands in the file %<---will type out the contents of % mylab1.m to the screen The exercises in this section involve sound signals, so you should bring headphones to the lab for listening. (a) Run the MATLAB sound demo by typing xpsound at the MATLAB prompt. If you are unable to hear the sounds in the MATLAB demo then ask an instructor for help. When unsure about a command, use help. (b) Now generate a tone (i.e., a sinusoid) in MATLAB and listen to it with the soundsc() command. 1 The first two lines of code in part 2.2(d) create a vector xx of values of a 2.5 Hz sinusoid. The frequency of your sinusoidal tone should be 2000 Hz and its duration should be 0.9 sec. Use a sampling rate (fs) equal to samples/sec. The sampling rate dictates the time interval between time points, so the time-vector should be defined as follows: tt = 0:(1/fs):dur; where fs is the desired sampling rate and dur is the desired duration (in seconds). Read the online help for both sound() and soundsc() to get more information on using this command. What is the length (number of samples) of your tt vector? 3 Lab Exercise: Manipulating Sinusoids with MATLAB Now you re on your own. Include a short summary of this Section with plots in your Lab report. Write a MATLAB script file to do steps (a) through (d) below. Include a listing of the script file with your report. 1 The soundsc(xx,fs) function requires two arguments: the first one (xx) contains the vector of data to be played, the second argument (fs) is the sampling rate for playing the samples. In addition, soundsc(xx,fs) does automatic scaling and then calls sound(xx,fs) to actually play the signal. 4
5 (a) Generate a time vector (tt) to cover a range of t that will exhibit approximately two cycles of the 4000 Hz sinusoids defined in the next part, part (b). Use a definition for tt similar to part 2.2(d). If we use T to denote the period of the sinusoids, define the starting time of the vector tt to be equal to T, and the ending time as +T. Then the two cycles will include t = 0. Finally, make sure that you have at least 25 samples per period of the sinusoidal wave. In other words, when you use the colon operator to define the time vector, make the increment small enough to generate 25 samples per period. (b) Generate two 4000 Hz sinusoids with arbitrary amplitude and time-shift. x 1 (t) = A 1 cos(2π(4000)(t t m1 )) x 2 (t) = A 2 cos(2π(4000)(t t m2 )) Select the value of the amplitudes and time-shifts as follows: Let A 1 be equal to your age and set A 2 = 1.2A 1. For the time-shifts, set t m1 = (37.2/M)T and t m2 = (41.3/D)T where D and M are the day and month of your birthday, and T is the period. Make a plot of both signals over the range of T t T. For your final printed output in part (d) below, use subplot(3,1,1) and subplot(3,1,2) to make a three-panel figure that puts both of these plots in the same figure window. See help subplot. (c) Create a third sinusoid as the sum: x 3 (t) = x 1 (t) + x 2 (t). In MATLAB this amounts to summing the vectors that hold the values of each sinusoid. Make a plot of x 3 (t) over the same range of time as used in the plots of part (b). Include this as the third panel in the plot by using subplot(3,1,3). (d) Before printing the three plots, put a title on each subplot, and include your name in one of the titles. See help title, help print and help orient, especially orient tall. 3.1 Theoretical Calculations Remember that the phase of a sinusoid can be calculated after measuring the time location of a positive peak, 2 if we know the frequency. (a) Make measurements of the time-location of a positive peak and the amplitude from the plots of x 1 (t) and x 2 (t), and write those values for A i and t mi directly on the plots. Then calculate (by hand) the phases of the two signals, x 1 (t) and x 2 (t), by converting each time-shift t mi to phase. Write the calculated phases φ i directly on the plots. Note: when doing computations, express phase angles in radians, not degrees! (b) Measure the amplitude A 3 and time-shift t m3 of x 3 (t) directly from the plot and then calculate the phase (φ 3 ) by hand. Write these values directly on the plot to show how the amplitude and time-shift were measured, and how the phase was calculated. (c) Now use the phasor addition theorem. Carry out a phasor addition of complex amplitudes for x 1 (t) and x 2 (t) to determine the complex amplitude for x 3 (t). Use the complex amplitude for x 3 (t) to verify that your previous calculations of A 3 and φ 3 were correct. 2 Usually we say time-delay or time-shift instead of the time location of a positive peak. 5
6 3.2 Complex Amplitude Write one line of MATLAB code that will generate values of the sinusoid x 1 (t) above by using the complexamplitude representation: x 1 (t) = Re{Xe jωt } Use appropriate constants for X and ω. 6
7 Lab 01 INSTRUCTOR VERIFICATION SHEET Turn this page in to your grading TA. Name: Date of Lab: Part 2.1 Vector replacement using the colon operator: Part 2.2(b) Explain why it is necessary to write yy(k+6). What happens if you use yy(k) instead? Part 2.2(d) Explain why the plot of real(zz) is a sinusoid. What is its amplitude and phase? In the space below, make a calculation of the phase from time-shift. (optional) Part 2.3 Use soundsc() to play a 2000 Hz tone in MATLAB: 7
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
Introduction to Matlab
Introduction to Matlab Social Science Research Lab American University, Washington, D.C. Web. www.american.edu/provost/ctrl/pclabs.cfm Tel. x3862 Email. [email protected] Course Objective This course provides
Lab 3: Introduction to Data Acquisition Cards
Lab 3: Introduction to Data Acquisition Cards INTRODUCTION: In this lab, you will be building a VI to display the input measured on a channel. However, within your own VI you will use LabVIEW supplied
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
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
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
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
Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.
Excel Tutorial Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information. Working with Data Entering and Formatting Data Before entering data
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
Beginner s Matlab Tutorial
Christopher Lum [email protected] 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
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
MATLAB Basics MATLAB numbers and numeric formats
MATLAB Basics MATLAB numbers and numeric formats All numerical variables are stored in MATLAB in double precision floating-point form. (In fact it is possible to force some variables to be of other types
Introduction. Chapter 1
Chapter 1 Introduction MATLAB (Matrix laboratory) is an interactive software system for numerical computations and graphics. As the name suggests, MATLAB is especially designed for matrix computations:
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
Experiment #1, Analyze Data using Excel, Calculator and Graphs.
Physics 182 - Fall 2014 - Experiment #1 1 Experiment #1, Analyze Data using Excel, Calculator and Graphs. 1 Purpose (5 Points, Including Title. Points apply to your lab report.) Before we start measuring
MATERIALS. Multisim screen shots sent to TA.
Page 1/8 Revision 0 9-Jun-10 OBJECTIVES Learn new Multisim components and instruments. Conduct a Multisim transient analysis. Gain proficiency in the function generator and oscilloscope. MATERIALS Multisim
CIRCUITS LABORATORY EXPERIMENT 3. AC Circuit Analysis
CIRCUITS LABORATORY EXPERIMENT 3 AC Circuit Analysis 3.1 Introduction The steady-state behavior of circuits energized by sinusoidal sources is an important area of study for several reasons. First, the
Introduction to Complex Numbers in Physics/Engineering
Introduction to Complex Numbers in Physics/Engineering ference: Mary L. Boas, Mathematical Methods in the Physical Sciences Chapter 2 & 14 George Arfken, Mathematical Methods for Physicists Chapter 6 The
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
Waveforms and the Speed of Sound
Laboratory 3 Seth M. Foreman February 24, 2015 Waveforms and the Speed of Sound 1 Objectives The objectives of this excercise are: to measure the speed of sound in air to record and analyze waveforms of
ε: Voltage output of Signal Generator (also called the Source voltage or Applied
Experiment #10: LR & RC Circuits Frequency Response EQUIPMENT NEEDED Science Workshop Interface Power Amplifier (2) Voltage Sensor graph paper (optional) (3) Patch Cords Decade resistor, capacitor, and
Electrical Resonance
Electrical Resonance (R-L-C series circuit) APPARATUS 1. R-L-C Circuit board 2. Signal generator 3. Oscilloscope Tektronix TDS1002 with two sets of leads (see Introduction to the Oscilloscope ) INTRODUCTION
Iowa State University Electrical and Computer Engineering. E E 452. Electric Machines and Power Electronic Drives. Laboratory #3 Figures of Merit
Electrical and Computer Engineering E E 452. Electric Machines and Power Electronic Drives Laboratory #3 Figures of Merit Summary Simple experiments will be conducted. Experimental waveforms will be measured,
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
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;
Laboratory 4: Feedback and Compensation
Laboratory 4: Feedback and Compensation To be performed during Week 9 (Oct. 20-24) and Week 10 (Oct. 27-31) Due Week 11 (Nov. 3-7) 1 Pre-Lab This Pre-Lab should be completed before attending your regular
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
Scientific Programming
1 The wave equation Scientific Programming Wave Equation The wave equation describes how waves propagate: light waves, sound waves, oscillating strings, wave in a pond,... Suppose that the function h(x,t)
Microsoft Excel Tutorial
Microsoft Excel Tutorial by Dr. James E. Parks Department of Physics and Astronomy 401 Nielsen Physics Building The University of Tennessee Knoxville, Tennessee 37996-1200 Copyright August, 2000 by James
Case study: how to use cutoff conditions in a FRA frequency scan?
NOVA Technical Note 8 Case study: how to use cutoff conditions in a FRA frequency scan? 1 Using cutoffs Cutoffs in FRA 1 The NOVA options can be used to test measured data points for a cutoff condition.
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
CHAPTER 6 Frequency Response, Bode Plots, and Resonance
ELECTRICAL CHAPTER 6 Frequency Response, Bode Plots, and Resonance 1. State the fundamental concepts of Fourier analysis. 2. Determine the output of a filter for a given input consisting of sinusoidal
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
Tutorial 2: Using Excel in Data Analysis
Tutorial 2: Using Excel in Data Analysis This tutorial guide addresses several issues particularly relevant in the context of the level 1 Physics lab sessions at Durham: organising your work sheet neatly,
Auto-Tuning Using Fourier Coefficients
Auto-Tuning Using Fourier Coefficients Math 56 Tom Whalen May 20, 2013 The Fourier transform is an integral part of signal processing of any kind. To be able to analyze an input signal as a superposition
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
6.025J Medical Device Design Lecture 3: Analog-to-Digital Conversion Prof. Joel L. Dawson
Let s go back briefly to lecture 1, and look at where ADC s and DAC s fit into our overall picture. I m going in a little extra detail now since this is our eighth lecture on electronics and we are more
Experiment 7: Familiarization with the Network Analyzer
Experiment 7: Familiarization with the Network Analyzer Measurements to characterize networks at high frequencies (RF and microwave frequencies) are usually done in terms of scattering parameters (S parameters).
PLOTTING COMMANDS (!' ) "' # "*# "!(!' +,
PLOTTING COMMANDS Logarithmic and semi-logarithmic plots can be generated using the commands loglog, semilogx, and semilogy. The use of the above plot commands is similar to those of the plot command discussed
Active Vibration Isolation of an Unbalanced Machine Spindle
UCRL-CONF-206108 Active Vibration Isolation of an Unbalanced Machine Spindle D. J. Hopkins, P. Geraghty August 18, 2004 American Society of Precision Engineering Annual Conference Orlando, FL, United States
The Fourier Analysis Tool in Microsoft Excel
The Fourier Analysis Tool in Microsoft Excel Douglas A. Kerr Issue March 4, 2009 ABSTRACT AD ITRODUCTIO The spreadsheet application Microsoft Excel includes a tool that will calculate the discrete Fourier
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
SOME EXCEL FORMULAS AND FUNCTIONS
SOME EXCEL FORMULAS AND FUNCTIONS About calculation operators Operators specify the type of calculation that you want to perform on the elements of a formula. Microsoft Excel includes four different types
chapter Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction 1.2 Historical Perspective
Introduction to Digital Signal Processing and Digital Filtering chapter 1 Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction Digital signal processing (DSP) refers to anything
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
Intro to Excel spreadsheets
Intro to Excel spreadsheets What are the objectives of this document? The objectives of document are: 1. Familiarize you with what a spreadsheet is, how it works, and what its capabilities are; 2. Using
Appendix: Tutorial Introduction to MATLAB
Resampling Stats in MATLAB 1 This document is an excerpt from Resampling Stats in MATLAB Daniel T. Kaplan Copyright (c) 1999 by Daniel T. Kaplan, All Rights Reserved This document differs from the published
3-Phase AC Calculations Revisited
AN110 Dataforth Corporation Page 1 of 6 DID YOU KNOW? Nikola Tesla (1856-1943) came to the United States in 1884 from Yugosiavia. He arrived during the battle of the currents between Thomas Edison, who
Lines & Planes. Packages: linalg, plots. Commands: evalm, spacecurve, plot3d, display, solve, implicitplot, dotprod, seq, implicitplot3d.
Lines & Planes Introduction and Goals: This lab is simply to give you some practice with plotting straight lines and planes and how to do some basic problem solving with them. So the exercises will be
COMPLEX NUMBERS AND PHASORS
COMPLEX NUMBERS AND PHASORS 1 Professor Andrew E. Yagle, EECS 206 Instructor, Fall 2005 Dept. of EECS, The University of Michigan, Ann Arbor, MI 48109-2122 I. Abstract The purpose of this document is to
MATLAB Tutorial. Chapter 6. Writing and calling functions
MATLAB Tutorial Chapter 6. Writing and calling functions In this chapter we discuss how to structure a program with multiple source code files. First, an explanation of how code files work in MATLAB is
A few words about imaginary numbers (and electronics) Mark Cohen [email protected]
A few words about imaginary numbers (and electronics) Mark Cohen mscohen@guclaedu While most of us have seen imaginary numbers in high school algebra, the topic is ordinarily taught in abstraction without
Lab #9: AC Steady State Analysis
Theory & Introduction Lab #9: AC Steady State Analysis Goals for Lab #9 The main goal for lab 9 is to make the students familar with AC steady state analysis, db scale and the NI ELVIS frequency analyzer.
SAMPLE. Computer Algebra System (Classpad 330 using OS 3 or above) Application selector. Icolns that access working zones. Icon panel (Master toolbar)
A P P E N D I X B Computer Algebra System (Classpad 330 using OS 3 or above) B.1 Introduction For reference material on basic operations of the calculator, refer to the free downloadable documentation
Simulation Tools. Python for MATLAB Users I. Claus Führer. Automn 2009. Claus Führer Simulation Tools Automn 2009 1 / 65
Simulation Tools Python for MATLAB Users I Claus Führer Automn 2009 Claus Führer Simulation Tools Automn 2009 1 / 65 1 Preface 2 Python vs Other Languages 3 Examples and Demo 4 Python Basics Basic Operations
Computing Fourier Series and Power Spectrum with MATLAB
Computing Fourier Series and Power Spectrum with MATLAB By Brian D. Storey. Introduction Fourier series provides an alternate way of representing data: instead of representing the signal amplitude as a
AC CIRCUITS - CAPACITORS AND INDUCTORS
EXPRIMENT#8 AC CIRCUITS - CAPACITORS AND INDUCTORS NOTE: Two weeks are allocated for this experiment. Before performing this experiment, review the Proper Oscilloscope Use section of Experiment #7. Objective
Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. 6.002 Electronic Circuits Spring 2007
Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.002 Electronic Circuits Spring 2007 Lab 4: Audio Playback System Introduction In this lab, you will construct,
SERIES-PARALLEL DC CIRCUITS
Name: Date: Course and Section: Instructor: EXPERIMENT 1 SERIES-PARALLEL DC CIRCUITS OBJECTIVES 1. Test the theoretical analysis of series-parallel networks through direct measurements. 2. Improve skills
Frequency Response of Filters
School of Engineering Department of Electrical and Computer Engineering 332:224 Principles of Electrical Engineering II Laboratory Experiment 2 Frequency Response of Filters 1 Introduction Objectives To
Basic Concepts in Matlab
Basic Concepts in Matlab Michael G. Kay Fitts Dept. of Industrial and Systems Engineering North Carolina State University Raleigh, NC 769-7906, USA [email protected] September 00 Contents. The Matlab Environment.
Trigonometric functions and sound
Trigonometric functions and sound The sounds we hear are caused by vibrations that send pressure waves through the air. Our ears respond to these pressure waves and signal the brain about their amplitude
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,
Finding Equations of Sinusoidal Functions From Real-World Data
Finding Equations of Sinusoidal Functions From Real-World Data **Note: Throughout this handout you will be asked to use your graphing calculator to verify certain results, but be aware that you will NOT
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
Step Response of RC Circuits
Step Response of RC Circuits 1. OBJECTIVES...2 2. REFERENCE...2 3. CIRCUITS...2 4. COMPONENTS AND SPECIFICATIONS...3 QUANTITY...3 DESCRIPTION...3 COMMENTS...3 5. DISCUSSION...3 5.1 SOURCE RESISTANCE...3
University of Pennsylvania. Electrical & Systems Engineering Undergraduate Laboratories. ESE 112: Introduction to Electrical & Systems Engineering
University of Pennsylvania Electrical & Systems Engineering Undergraduate Laboratories ESE 112: Introduction to Electrical & Systems Engineering Lab 6: Digital Signal Processing Original Assignment by
Section 1.1. Introduction to R n
The Calculus of Functions of Several Variables Section. Introduction to R n Calculus is the study of functional relationships and how related quantities change with each other. In your first exposure to
Computational Mathematics with Python
Boolean Arrays Classes Computational Mathematics with Python Basics Olivier Verdier and Claus Führer 2009-03-24 Olivier Verdier and Claus Führer Computational Mathematics with Python 2009-03-24 1 / 40
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
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
(!' ) "' # "*# "!(!' +,
MATLAB is a numeric computation software for engineering and scientific calculations. The name MATLAB stands for MATRIX LABORATORY. MATLAB is primarily a tool for matrix computations. It was developed
UNIVERSITY OF CALIFORNIA AT BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences. EE105 Lab Experiments
UNIVERSITY OF CALIFORNIA AT BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences EE15 Lab Experiments Bode Plot Tutorial Contents 1 Introduction 1 2 Bode Plots Basics
Maple Quick Start. Introduction. Talking to Maple. Using [ENTER] 3 (2.1)
Introduction Maple Quick Start In this introductory course, you will become familiar with and comfortable in the Maple environment. You will learn how to use context menus, task assistants, and palettes
Modeling with Python
H Modeling with Python In this appendix a brief description of the Python programming language will be given plus a brief introduction to the Antimony reaction network format and libroadrunner. Python
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
Introduction to Bode Plot
Introduction to Bode Plot 2 plots both have logarithm of frequency on x-axis o y-axis magnitude of transfer function, H(s), in db o y-axis phase angle The plot can be used to interpret how the input affects
EXCEL Tutorial: How to use EXCEL for Graphs and Calculations.
EXCEL Tutorial: How to use EXCEL for Graphs and Calculations. Excel is powerful tool and can make your life easier if you are proficient in using it. You will need to use Excel to complete most of your
Trigonometry Hard Problems
Solve the problem. This problem is very difficult to understand. Let s see if we can make sense of it. Note that there are multiple interpretations of the problem and that they are all unsatisfactory.
http://school-maths.com Gerrit Stols
For more info and downloads go to: http://school-maths.com Gerrit Stols Acknowledgements GeoGebra is dynamic mathematics open source (free) software for learning and teaching mathematics in schools. It
Mathematica Tutorial
Mathematica Tutorial To accompany Partial Differential Equations: Analytical and Numerical Methods, 2nd edition by Mark S. Gockenbach (SIAM, 200) Introduction In this introduction, I will explain the organization
AP Physics 1 and 2 Lab Investigations
AP Physics 1 and 2 Lab Investigations Student Guide to Data Analysis New York, NY. College Board, Advanced Placement, Advanced Placement Program, AP, AP Central, and the acorn logo are registered trademarks
Lecture 21 Integration: Left, Right and Trapezoid Rules
Lecture 1 Integration: Left, Right and Trapezoid Rules The Left and Right point rules In this section, we wish to approximate a definite integral b a f(x)dx, where f(x) is a continuous function. In calculus
Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors
1 Chapter 13. VECTORS IN THREE DIMENSIONAL SPACE Let s begin with some names and notation for things: R is the set (collection) of real numbers. We write x R to mean that x is a real number. A real number
Physics 231 Lecture 15
Physics 31 ecture 15 Main points of today s lecture: Simple harmonic motion Mass and Spring Pendulum Circular motion T 1/f; f 1/ T; ω πf for mass and spring ω x Acos( ωt) v ωasin( ωt) x ax ω Acos( ωt)
Unit2: Resistor/Capacitor-Filters
Unit2: Resistor/Capacitor-Filters Physics335 Student October 3, 27 Physics 335-Section Professor J. Hobbs Partner: Physics335 Student2 Abstract Basic RC-filters were constructed and properties such as
Microsoft Windows PowerShell v2 For Administrators
Course 50414B: Microsoft Windows PowerShell v2 For Administrators Course Details Course Outline Module 1: Introduction to PowerShell the Basics This module explains how to install and configure PowerShell.
G563 Quantitative Paleontology. SQL databases. An introduction. Department of Geological Sciences Indiana University. (c) 2012, P.
SQL databases An introduction AMP: Apache, mysql, PHP This installations installs the Apache webserver, the PHP scripting language, and the mysql database on your computer: Apache: runs in the background
Sample Solutions for Assignment 2.
AMath 383, Autumn 01 Sample Solutions for Assignment. Reading: Chs. -3. 1. Exercise 4 of Chapter. Please note that there is a typo in the formula in part c: An exponent of 1 is missing. It should say 4
Linear Algebra and Music Derrick Smith 1
Linear Algebra and Music Derrick Smith. Introduction In this project you will see how to use linear algebra to understand music and other types of sound. Specifically, you will see that a given sound can
Cell Phone Vibration Experiment
Objective Cell Phone Vibration Experiment Most cell phones are designed to vibrate. But at what frequency do they vibrate? With an accelerometer, data acquisition and signal analysis the vibration frequency
GLEN RIDGE PUBLIC SCHOOLS MATHEMATICS MISSION STATEMENT AND GOALS
Course Title: Advanced Web Design Subject: Mathematics / Computer Science Grade Level: 9-12 Duration: 0.5 year Number of Credits: 2.5 Prerequisite: Grade of A or higher in Web Design Elective or Required:
USB 3.0 CDR Model White Paper Revision 0.5
USB 3.0 CDR Model White Paper Revision 0.5 January 15, 2009 INTELLECTUAL PROPERTY DISCLAIMER THIS WHITE PAPER IS PROVIDED TO YOU AS IS WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY,
Semester 2, Unit 4: Activity 21
Resources: SpringBoard- PreCalculus Online Resources: PreCalculus Springboard Text Unit 4 Vocabulary: Identity Pythagorean Identity Trigonometric Identity Cofunction Identity Sum and Difference Identities
See Horenstein 4.3 and 4.4
EE 462: Laboratory # 4 DC Power Supply Circuits Using Diodes by Drs. A.V. Radun and K.D. Donohue (2/14/07) Department of Electrical and Computer Engineering University of Kentucky Lexington, KY 40506 Updated
Working with Excel in Origin
Working with Excel in Origin Limitations When Working with Excel in Origin To plot your workbook data in Origin, you must have Excel version 7 (Microsoft Office 95) or later installed on your computer
MATLAB DFS. Interface Library. User Guide
MATLAB DFS Interface Library User Guide DHI Water Environment Health Agern Allé 5 DK-2970 Hørsholm Denmark Tel: +45 4516 9200 Fax: +45 4516 9292 E-mail: [email protected] Web: www.dhigroup.com 2007-03-07/MATLABDFS_INTERFACELIBRARY_USERGUIDE.DOC/JGR/HKH/2007Manuals/lsm
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
