3 Pages

Lab6S08

Course: EE 295, Fall 2009
School: N. Arizona
Rating:
 
 
 
 
 

Word Count: 1252

Document Preview

348: EE Lab 6, Spring 2008 Frequency Response of FIR Filters 1 Introduction Lab 6 examines the frequency response of discrete-time FIR lters, the Discrete-Time Fourier Transform (DTFT, used for discrete non-periodic signals) and the frequency response of the output of an FIR lter. Your lab report is due at the beginning of class Tuesday of two weeks hence, April 15. Labs are to be done individually, although...

Register Now

Unformatted Document Excerpt

Coursehero >> Arizona >> N. Arizona >> EE 295

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
348: EE Lab 6, Spring 2008 Frequency Response of FIR Filters 1 Introduction Lab 6 examines the frequency response of discrete-time FIR lters, the Discrete-Time Fourier Transform (DTFT, used for discrete non-periodic signals) and the frequency response of the output of an FIR lter. Your lab report is due at the beginning of class Tuesday of two weeks hence, April 15. Labs are to be done individually, although you may consult together in groups in regards to the lab. It is expected that you will need to spend some time outside of the scheduled lab period to complete and document each lab. 1.1 Lab Goals The primary goals of this lab are: Write a program to calculate the DTFT of a discrete-time signal. Use the Matlab freqz function to calculate the frequency response of a discrete-time signal. Examine the frequency response H() of an FIR lter and the frequency response Y () of its output y[n] for a given input x[n]. 2 2.1 Frequency Response Discrete-Time Fourier Transform (DTFT) The DTFT is used to nd the continuous frequency response X() of a non-periodic discrete-time signal x[n]. The frequency response X() is continuous and periodic in frequency, with period 2. The frequency response X() is found as X() = n= x[n] exp(jn). (1) This equation is known as the DTFT synthesis equation, or simply the DTFT of x[n]. Note that for x[n] having nite range of support from N1 to N2 , the DTFT reduces to a nite number of terms, given by N2 X() = n=N1 x[n] exp(jn). (2) The inverse DTFT or IDTFT, or DTFT synthesis equation, is given by x[n] = 1 2 X() exp(jn)d. = (3) Matlab provides a function to calculate the DTFT of a non-periodic discrete signal: the freqz function. The frequency response H(k) of an FIR lter with impulse response h[n] may be found over a frequency range of freqrange (often freqrange= : /100 : , or 0 : /100 : ) with the command freqz(h,1,freqrange). 1 EE 348: Lab 6, Spring 2008 2 2.2 Lab Exercise: DTFT 1. Write a Matlab function to calculate the DTFT of a non-periodic discrete signal x[n], assuming x[n] has nite range of support from N1 to N2 . Include your Matlab function in your lab report. You may write this DTFT function in C, if you prefer. 1 1 2. Consider the causal FIR lter from Lab 4, Section 2.1, with impulse response h[n] = 10 [n] + 10 [n 1] + 9 1 1 1 1 1 1 1 1 1 k=0 [nk]. 10 [n2]+ 10 [n3]+ 10 [n4]+ 10 [n5]+ 10 [n6]+ 10 [n7]+ 10 [n8]+ 10 [n9] = 10 This impulse response is discrete-time and nonperiodic. Use your Matlab function to calculate the DTFT H() for , with frequency steps of = /100. Plot both the magnitude |H()| and the phase H() vs , for . Label both plots and include in your lab report. 3. Now use the freqz function in Matlab to conrm your frequency response results for H(). Again, plot both the magnitude |H()| and the phase H() vs , for . Label both plots, indicating they result from the Matlab freqz function, and include in your lab report. 4. Based on the magnitude of lters frequency response |H()|, is the lter h[n] a lowpass, bandpass or highpass lter? 3 Frequency Response of Filter Output For an input x[n] applied to an LTI lter with impulse response h[n], the output will be y[n] = h[n] x[n]. Remember that when we considered two LTI in systems cascade with impulse responses h1 [n] and h2 [n], we found that the overall impulse response h[n] = h1 [n]h2 [n], and the overall frequency response was H() = H1 ()H2 (). In other words, convolution in the time domain equals multiplication in the frequency domain. We can apply this principle to the lter output y[n], which is the convolution of h[n] and x[n]. By the convolution property of the Fourier Transforms, we know that convolution in time is equivalent to multiplication in frequency. In the frequency domain, the output frequency response Y () is found as Y () = H() X(). (4) So we need to nd the frequency response of both the lter, H(), and the input, X(). Once the output frequency response Y () has been calculated, then the output time-domain response can be found from the IDTFT of equation 3. This sounds like a complicated process; however, multiplication in the frequency domain is often much easier than convolution in the time domain. The lab exercise illustrates this process. 3.1 Lab Exercise: Frequency Response of Filter Output 1. Use the same lter impulse response h[n] with frequency response H() found earlier in Section 2.2. 2. Generate a discrete non-periodic input of length 100 as x[n] = 1 + cos(n/10) + e[n] for n = 0, . . . 99, where e is a random noise vector, also of length 100. Generate e rst with the command e =0.5*randn(1,100), 2 which generates a Gaussian zero-mean random sequence of length 100 with variance e = 0.25. This input x[n] is non-periodic due to the addition of the random noise vector. Plot x[n] vs n, label and include in your lab report. 3. Find the input frequency response X() by using either your DTFT program or Matlabs freqz() function. Be sure to use the same range of for X() as you did for H(). Plot both the magnitude |X()| and phase X() for . Label both plots. Include both plots in your lab report. EE 348: Lab 6, Spring 2008 3 4. Find the output frequency response...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

N. Arizona - EE - 188
EE 188 Practice Problems for Exam 1, Spring 20091. Circle T (true) or F (false) for each of these Boolean equations. (a). (b). (c). (d). (e). T T T T T F F F F F Negative power indicates power delivered The unit of charge is the amp 0.005 V = 5 mV O
N. Arizona - EE - 295
EE 348: Solutions to Practice Problems for Exam 1, Spring 20081. Consider a system with impulse response given by h[n] = Is this system a) causal? b) stable? c) linear? d) time-invariant? Explain (or prove) why or why not. Solution: 1.a) Is this sys
N. Arizona - EE - 295
EE 348 Practice Problems for Exam 2: Solutions, Spring 20081. Discrete-Time Fourier Series Answer the following questions about the sampled signal x[n] = cos(n/2). 1.a. What is the period N of x[n]? Solution: The condition for periodicity is that x[
N. Arizona - EE - 188
N. Arizona - SH - 295
EE 490/599: Error Correcting Codes Project 1, Fall 2007: Extended Hamming CodeProject #1 is due on Thursday, October 11, 2007, in class. You have 3 weeks to work on this project. You may turn the project report in early. Late projects are accepted f
N. Arizona - EE - 295
EE 348 Practice Problems for Exam 1, Spring 20081. Consider a system with impulse response given by h[n] = Is this system a) causal? b) stable? c) linear? d) time-invariant? Explain (or prove) why or why not. 1 4nu[n].2.Consider a system with
N. Arizona - EE - 295
EE 110 Practice Problems for Exam 1, Fall 2008Some possibly useful relations: a + ab = a a + ab = a + b ab + ab = a ab + abc = ab + ac ab + ac + bc = ab + ac a(a + b) = a a(a + b) = ab (a + b)(a + b) = a (a + b)(a + b + c) = (a + b)(a + c) (a + b)(a
N. Arizona - EE - 295
EE 110 LabExperiment #12Fall 2008NAME: _ EXPERIMENT 12: Binary Down-Counter with D Flip-FlopsThe purpose of this laboratory is to design, build, and test a binary counter using D flip-flops. Students can work in pairs. Each student should subm
N. Arizona - EE - 295
EE 430: Homework 8, Spring 2008 Extra CreditHomework assignment #8 is an extra-credit assignment, and is not required. However, if you choose to turn it in for extra credit, please do so by May 1. Simulate the BER (bit-error-rate) performance of a c
N. Arizona - JF - 36
What's in aName? Maybe, a Student's Grade!By Kathleen Vail From American School Board JournalT' w o children from the same family attend the same school. One gets good scores on reading and math tests. The other does not. What's the difference?
N. Arizona - JF - 36
Time to Learny alarm had not yet gone off, but I was wide awake. My stomach was in knots and I knew I would not be able to eat breakfast. I longed to turn over, go back to sleep, wait for the alarm, hit snooze. But there was no way. It was Septembe
N. Arizona - ECI - 322
Professors Who Profess09/09/2007 05:36 PMKAPPA DELTA PI RECORD Spring 2003Professors Who ProfessMaking a Difference as Scholar-ActivistsBy Alfie Kohn It's neither possible nor desirable for the field of education to be value-free, and it's ne
N. Arizona - JF - 36
Shepard Article Study Guide "The Role of Classroom Assessment in Teaching and Learning" by Lorrie A. Shepard, pp. 1-15. (Access the article at: http:/www.cse.ucla.edu?CRESST/pages/reports.htm) 1. The author cited Constructivist learning theory as bei
N. Arizona - JF - 36
N. Arizona - JF - 36
N. Arizona - JF - 36
Features: Ellen Brantlingerhttp:/www.cust.educ.ubc.ca/workplace/issue6p1/brantlinger.htmlAn Application of Gramsci's "Who Benefits?" to High-Stakes TestingEllen Brantlinger1.1 Until recently, students who stuck it out in school and successfully
N. Arizona - JF - 36
PART IIntroduction to Student-Involved Assessment FOR LearningIn this book, we lay the foundation of professional competence you need to meet standards of excellence in classroom assessment. The presentation unfolds in three parts. We begin in Part
N. Arizona - JF - 36
ISSUE 9Do High-Stakes Assessments Improve Learning?YES: Nina Hurwitz and Sol Hurwitz, from "Tests That Count," American School Board Journal (January 2000) NO: Martin G. Brooks and Jacqueline Grennon Brooks, from "The Courage to Be Constructivist,"
N. Arizona - JF - 36
N. Arizona - JF - 36
N. Arizona - JF - 36
N. Arizona - JF - 36
N. Arizona - ECI - 322
ANALYZING THE CURRICULUMGeorge J. PosnerCornell UniversityMcGraw-Hill, Inc. New York St. Louis San Francisco Auckland Bogota Caracas Lisbon London Madrid Mexico Milan Montreal New Delhi Paris San Juan Singapore Sydney Tokyo Toronto44PART IC
N. Arizona - PRM - 426
It has become more common for trail groups to request access to privately held lands for trail use. Most landowners of private and public lands want to grant permission, but they can have questions concerning their risks, liability, and responsibilit
N. Arizona - FOR - 521
Ecosystems (2002) 5: 487 499 DOI: 10.1007/s10021-002-0130-8ECOSYSTEMS 2002 Springer-VerlagTotal Belowground Carbon Allocation in a Fast-growing Eucalyptus Plantation Estimated Using a Carbon Balance ApproachChristian P. Giardina1 and Michael G.
N. Arizona - FOR - 479
Ponderosa pine restoration effects on surface energy balanceFire suppression has allowed dense thickets of ponderosa pine trees to develop all over the Colorado Plateau. Stands are largely monospecific, with little light penetration to the forest
N. Arizona - FOR - 506
CURRENT TOPICS IN FIRE ECOLOGY, FALL 2004Fall Semester, 2004 WEB ADDRESS: www.for.nau.edu/courses/pzf/ Meeting time and place: Instructor: Thursdays, 11:10 12:00 p.m., Forestry (Building 82), room 135Dr. Pete Ful (Forestry room 246C, 523-1463, P
N. Arizona - PRESENTATI - 2005
Bridging the Gap Between Fire Science and Land Management:A Case Study of Two National Parksi. e. how real people use our sort of science. After the Los Alamos conflagration, the 1995 Federal Fire Policy was reviewed. It was not found to be i
N. Arizona - SMG - 224
Curriculum VitaShannon M. Guerrero1SHANNON M. GUERRERO, Ph.D. Assistant Professor, Mathematics EducationNorthern Arizona University Department of Mathematics and Statistics PO Box 5717 Flagstaff AZ 86011-5717 928-523-6893 office 928-523-5847 f
N. Arizona - CTE - 355
PowerPoint Made SimpleBy Shawn WheelerLaunch PowerPoint Enter the following text: Title: PowerPoint Made Simple Sub-title By & Your Name Click anywhere on the slide. Save this file as PPTWorkShop1Type the Slide Title Bullet Point 1 Bullet P
N. Arizona - SEW - 355
PowerPoint Made SimpleBy Shawn WheelerLaunch PowerPoint Enter the following text: Title: PowerPoint Made Simple Sub-title By & Your Name Click anywhere on the slide. Save this file as PPTWorkShop1Type the Slide Title Bullet Point 1 Bullet P
N. Arizona - SEW - 355
Type the Slide TitlePowerPoint Made Simple Bullet Point 1 Bullet Point 2 Bullet Point 3By Shawn WheelerBullets & Clip Art Insert Clip Art Search for Computer Click Go Select Clip Art Click OkPromote Demote Bullets Item One Item Two
N. Arizona - SEW - 355
PowerPoint Made SimpleBy Shawn WheelerType the Slide Title Bullet Point 1 Bullet Point 2 Bullet Point 3Bullets & Clip Art Insert Clip Art Search for Computer Click Go Select Clip Art Click OkPromote Demote Bullets Item One Item Two
N. Arizona - SEW - 355
1PowerPoint Made SimpleBy Shawn Wheeler2Type the Slide TitleBullet Point 1 Bullet Point 2 Bullet Point 33Bullets & Clip Art Insert Clip Art Search for Computer Click Go Select Clip Art Click Ok4Promote Demote BulletsItem One Ite
N. Arizona - DMS - 37
The Arizona Comprehensive Cancer Control PlanWorking Together to Reduce CancerThis publication is dedicated to Arizonans who have lost their lives to cancer and honors those who have survived. We present this as a testimony to their courage and as
N. Arizona - RH - 245
PLANT-INSECT INTERACTIONSRelative Suitability of Virginia Pine and Loblolly Pine as Host Species for Dendroctonus frontalis (Coleoptera: Scolytidae) JESSICA S. VEYSEY, MATTHEW P. AYRES, MARIA J. LOMBARDERO,1 RICHARD W. HOFSTETTER, 2 AND KIER D. KL
N. Arizona - MB - 478
The application process for GRADUATE SCHOOLHEGI FAMILY CAREER DEVELOPMENT CENTERTIMELINE FOR APPLYING TO GRADUATE SCHOOLAttending Graduate School now or later can increase options in your current career or allow you to make a transition to anoth
N. Arizona - ALD - 4
TOUCHY From a point A on a circle, a tangent line is drawn to B, 6 units away. Point C is chosen on the circle so that the angle ABC is 60. The distance BC is then 3. What is the area of the circle?A 6 B 3 CSOLUTION: Let O be the center and draw l
N. Arizona - RH - 245
CHEMICAL ECOLOGYAttraction of the Southern Pine Beetle, Dendroctonus frontalis, to Pheromone Components of the Western Pine Beetle, Dendroctonus brevicomis (Coleoptera: Curculionidae: Scolytinae), in an Allopatric ZoneDEEPA S. PURESWARAN,1,2 RICHA
N. Arizona - ALD - 4
Northern Arizona University Undergraduate Major/Minor/Certificate ChangesTo Be Completed By Student: Student ID: _Student Name: _ E-Mail Address: _@nau.edu Phone No._ Signature:_ Date:_ I receive the Western Undergraduate Exchange (WUE) reduced tu
N. Arizona - RH - 245
Oecologia (2006) 147: 679691 DOI 10.1007/s00442-005-0312-0COMMUNITY ECOLOGYRichard W. Hofstetter James T. Cronin Kier D. Klepzig John C. Moser Matthew P. AyresAntagonisms, mutualisms and commensalisms affect outbreak dynamics of the southern
N. Arizona - RH - 245
Mutualism and Antagonism: Ecological Interactions Among Bark Beetles, Mites and Fungi/13!K.D. Klepzig, J.C. Moser, M.J. Lombardero,* M.P. Ayres,* R.W. Hofstetter* and C.J. Walkinshaw USDA Forest Service, Pineville, LA 71360, USA; Dartmouth Colle
N. Arizona - RH - 245
1>01:.111.i.o/. 108 ( 2 ) : 1 83 I SS (i:eh~-~ai.y /<r\. 2003). l'hc I31.iti\h Mycolopical Society 10.1017 SO')537ih2030O~Oi5 f'~riil!c~(l /I/(, 1 '/!I,(/ ill A'iii,y(/O/ll.Effects of available water on growth and competition of southern pine bee
N. Arizona - RH - 245
Journal of Chemical Ecology, Vol. 31, No. 3, March 2005 ( C 2005) DOI: 10.1007/s10886-005-2035-4EFFECTS OF TREE PHYTOCHEMISTRY ON THE INTERACTIONS AMONG ENDOPHLOEDIC FUNGI ASSOCIATED WITH THE SOUTHERN PINE BEETLER. W. HOFSTETTER,1, J. B. MAHFOUZ,
N. Arizona - RH - 245
Entomologia Experimentalis et Applicata 88: 123135, 1998. 1998 Kluwer Academic Publishers. Printed in the Netherlands.123Endogenous and exogenous factors affecting parasitism of gypsy moth egg masses by Ooencyrtus kuvanaeRichard W. Hofstetter1
N. Arizona - ALD - 4
Team Question #1 SECRET WORD My secret word is one of the five in the list shown below. With this list in front of you, if I told you any letter of my secret word, you would know how many vowels it had. What is my secret word? TOE CAT CUE ARE OUR Sol
N. Arizona - RH - 245
PHYSIOLOGICAL ECOLOGYInfluence of Temperature on Spring Flight Initiation for Southwestern Ponderosa Pine Bark Beetles (Coleoptera: Curculionidae, Scolytinae)M. L. GAYLORD,1,2 K. K. WILLIAMS,3 R. W. HOFSTETTER,1 J. D. MCMILLIN,4 T. E. DEGOMEZ,3 AN
N. Arizona - RH - 245
Journal of Chemical Ecology, Vol. 26, No. 7, 2000APPLE FRUIT INFESTED WITH CODLING MOTH ARE MORE ATTRACTIVE TO NEONATE CODLING MOTH LARVAE AND POSSESS INCREASED AMOUNTS OF (E,E)-a-FARNESENEPETER J. LANDOLT,1,* JEWEL A. BRUMLEY,1 CONNIE L. SMITHHIS
N. Arizona - MAT - 114
MAT 114Probability Worksheet Key1. All that remains of a bridge mix are 6 soft centers (3 mint creams, 2 orange creams and 1 lemon cream) and 4 hard centers (3 toffees and 1 nut). a. Suppose that one is chosen at random. What is the probability t
N. Arizona - MAT - 368
Independent Notre Dame Air Force (MWC) Army Navy USC (pac 10) Hawaii (WAC) BC (ACC) Texas Tech (Big 12) Purdue (big 10) TCU (MWC) Pac 10 ASU UofA WSU UW Stan Cal Fresno St. (WAC) UCLA Ore OSUSEC E Georgia Tennessee Florida Kentucky South Carolina V
N. Arizona - MAT - 114
MAT 114: Quantitative ReasoningTutorial Microsoft Excel Chart WizardNothing from this tutorial is due. The tutorial will guide you through the making and formatting of simple charts. You are encouraged to `play' with the Chart Wizard; as with ma
N. Arizona - MAT - 368
The Impact of Meteorological Impacts by Jason Eastman Space has fascinated and perplexed people since the dawn of mankind. The purpose of this report is to come to a simple model showing details of a meteoroid as
N. Arizona - MAT - 368
NCAA football is an exciting sport with a rich history dating back over 100 years. Through out this heritage however, one debate has been fought for which a clear answer has yet to be found. What is the best way to decide which team is the best, whic
N. Arizona - MAT - 114
MAT 114Finance Worksheet Key1. The CPI for 1975 is $53.80; the CPI for 2000 is $172.20. a) What is the conversion factor from 1975 to 2000? 172.20/53.80 = 3.20074349 b) What is the conversion factor from 2000 to 1975? 53.80/172.20 = 0.31242741 c)
N. Arizona - MAT - 368
Missile Allocation ProblemsThe following problem is unrelated to the main theme of this document but its solution is similar to that of what follows A missing hiker is lying injured somewhere. The search and rescue team are able to drop by helicopte
N. Arizona - MAT - 431
MAT 431Assignment SixDue Wednesday November 14th1. Use an - argument to prove that the following function is differentiable at the given point. a) f ( x) = 3 x 2 - 2 x + 1 at x= 3 b) f ( x) = 2 x 2 - 4 x + 3 at x= 2 c) f ( x) = - x 2 - 3 x + 2
N. Arizona - MAT - 114
MAT 114Linear Worksheet Solution Key1. True/False. The line graphed to the left is steeper (has greater slope) than the line graphed to the right?False, this is an axis deception like those seen in 1A. Both lines have slope 1. 2. Find the equat
N. Arizona - MAT - 114
MAT 114Probability Worksheet This worksheet focuses on the computations of Sections 2B and 2C. It is not `due'; it is to give you practice. A solution key will be provided.1. All that remains of a bridge mix are 6 soft centers (3 mint creams, 2 o
N. Arizona - MAT - 368
Avian InfluenzaThe following problem was posed as an in-class problem: Model the spread of an infectious disease such as bird flu. What variables are needed? What assumptions should be made? What kind of model is needed? Deterministic or stochastic?
N. Arizona - MAT - 114
MAT 114 Data Set A: Data Set B: Data Set C: Data Set D:Statistical Measures Worksheet Key 10, 7, 18, 13, 12, 17, 11, 14, 16, 22 8, 13, 16, 10, 11, 7, 8, 11, 9, 17, 22 7, 9, 19, 8, 20, 17, 19, 9, 22, 18, 10, 10 17, 17, 7, 18, 8, 18, 9, 10, 22, 19, 2
N. Arizona - MAT - 114
MAT 114Exponential Worksheet KeyAll problems require use of the formula Q=Q0(1+r)t This formula is provided on the Unit Three Test The first 6 problems involve populations. For these round answers to the nearest whole person! 1. A city has a curr