This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: ECE220, Spring 2008 Lab 2: Introduction to MATLAB Monday, February 4 - Thursday, February 7 Location: 314 Phillips Hall. • This time Prelab report is due Monday noon, February 4 , in the collection boxes next to the south entrance to 219 Phillips Hall. • Matlab is available in most of the computer laboratories on the campus. To identify the lab closest to you visit www.cit.cornell.edu/labs/ . • Read the entire lab description before you show up in the lab. • Make a copy of your prelab report and bring it with you when you come to the lab. You will also need all Matlab programs that you are asked to write for your prelab. • Bring to the lab the check-out form that can be found at the end of this document. In the lab you will answer questions listed in this document. Your TA will note on the check-out form whether your answers were correct. At the end of the lab you will leave the check-out form with your TA. • You need to be familiar with the material in Section 2.6 of your text. • You need to be familiar with the material in Sections 3.4-3.6 of your text. 1 Introduction In Lab 1 we studied individual sinusoidal waveforms and the sum of sinusoidal waveforms. We looked at the various signals in both their continuous-time form and their discrete-time (sampled) forms. [Technically, we represented continuous-time signals as a dense collection of samples.] For the most part, we were able to learn (or not) in terms of how successfully we were able to display and study plots on the computer screen, as we seldom see much by looking at actual numbers printed on the screen. Some careful thought had to be given to the amount of information we plotted on the screen - not too much, and not too little. In some sense, we were trying to accommodate the human visual system. In this lab, one of the things we will learn is how to use the human audio system (that is, our hearing, our ears) in addition to the plots on the screen. That is, we will use the Matlab sound function to play signals we generate out to the speakers. At the same time, we need to learn something about the parameters of human hearing. In general, when we consider if a signal will ”work” or not, we have to ask what system is to receive and process the signal. Is it something we see, something we hear, or perhaps something an instrument processes? 2 1.1 Discrete frequencies, number of samples, cycles and their dura- tion Matlab can operate on discrete objects only, which for our purpose will be samples of a contin- uous functions. It will be convenient to index all samples by integers. (This is very common; and often, but not always, useful.) This will make it easy for us to keep track of exactly how many total samples we have, which we can denote as N ....
View Full Document
This note was uploaded on 06/25/2008 for the course ECE 2200 taught by Professor Johnson during the Spring '05 term at Cornell University (Engineering School).
- Spring '05