3 Pages

ECE6342ProjectFall08_v6

Course: ECE 6342, Fall 2008
School: U. Houston
Rating:
 
 
 
 
 

Word Count: 1057

Document Preview

6 ECE version 6342 Fall 2008 MATLAB Project Reminder: This assignment is an individual assignment, and you must NOT work closely with other students. You must design, write, test, and debug the program alone. Discussions with other students must be limited to understanding concepts taught in the class or understanding MATLAB, i.e., general stuff, not solutions specific to this project. Similarly, using any part...

Register Now

Unformatted Document Excerpt

Coursehero >> Texas >> U. Houston >> ECE 6342

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.
6 ECE version 6342 Fall 2008 MATLAB Project Reminder: This assignment is an individual assignment, and you must NOT work closely with other students. You must design, write, test, and debug the program alone. Discussions with other students must be limited to understanding concepts taught in the class or understanding MATLAB, i.e., general stuff, not solutions specific to this project. Similarly, using any part of a project solution from a previous semester is not allowed. Failures to observe this policy will be pursued as academic honesty violations. MEG Analysis Goal In this project you will analyze several files, each containing a set of MEG (magnetoencephalography) event-related field potentials. In doing so, you will practice numerous signal processing skills. Program Create an m-file named zxy.m, where z, x and y are your initials, last name first. For example, if your name is Alice Rogers Smith, the file would be sar.m. This file is your main program. In the steps below you are asked to create additional functions in .m files, similarly named with your initials: zxy_bpf_butter_lp.m, zxy_erp_average.m, etc. In this program you will insert many consecutive analysis steps, each creating a plot or other output. After each plot or other analysis output, execute a pause statement to allow the user to consider the results. Important: For ALL plots, the horizontal axis must be properly labeled, with correct unit values indicated (appropriate time or frequency values). When you plot a DFT, label the axis with units in Hertz, not radians. When you plot a time-domain signal, label the axis in milliseconds. The entire plot should have a title that clearly indicates what it is. Data Your data can be found on the course web site in a data file named dataN.mat, where the N for your data can be found in the file data_assignments.txt. 1. The format of the file is a MATLAB .mat file. 2. The file contains 71,200 sample values representing 200 evoked potential trials, 356 data points per trial. The first 356 points are the first trial, the next 356 points are the second trial, and so on. At a sampling rate of 254 Hz, that is a trial signal length of approximately 1.402 seconds. 3. The first 51 points in each trial are pre-stimulus data. The stimulus is presented simultaneous with the 52nd data point, which therefore corresponds to the time t=0. version 6 Analysis Steps The data should be processed in steps similar to the following. 1. Load your data file. A new data vector chdat_red will contain the MEG data values from the file. 2. Divide the data into 200 separate signal vectors containing the 200 trials. 3. Plot the 200 trials all on the same axis. Be sure the vertical axis is correctly located at the t=0 point. 4. Remove the pre-stimulus offset in each trial a. Compute the average value of the pre-stimulus data points, points 1-51. b. Subtract that average from the entire trial (all 356 points). c. Use these trials in the remaining steps. 5. Ensemble average zxy_erp_average.m a. Compute the ensemble average of these (unfiltered) trials. b. Plot the ensemble average. It will be noisy, you but should see the shape of the evoked response. 6. Lowpass filter each trial zxy_lpf_butter_lp.m a. Design a 4th-order Butterworth LPF with cutoff frequency at 16 Hz. b. Plot the frequency response magnitude and phase. c. Plot the impulse response. d. Apply the filter to each of the trial to create filtered trials. Use MATLABs filter function. 7. Ensemble average zxy_erp_average.m a. Compute the ensemble average of the filtered trials. b. Plot the ensemble average together with the plot of the average of the unfiltered trials. It will look less noisy, and there will be a delay (between the unfiltered average and the filtered average) due to the filter. c. When you do this, visually estimate the delay and write a message (just use the disp command) to the screen giving your estimate of the delay. (Yes, the unfiltered average is noisy, but do your best.) 8. DFT of ensemble average a. Compute the 512-pt DFT and the 1024-pt DFT of the ensemble average; plot the magnitude of both. b. Compute the dominant frequency, the frequency corresponding to the highest magnitude of the DFT; print the result. c. Compute the % power in the standard MEG bands: delta (0-4 Hz), theta (4-8 Hz), alpha (8-12 Hz), beta (above 12 Hz); print the results. 9. Linear phase filtering a. Design a Parks-McClellan linear phase FIR LPF zxy_lpf_pm.m. To choose the length of this filter, inspect the plot of the Butterworth filters impulse response above, and estimate the point where that impulse response has died down close to zero. b. Repeat ensemble average. version 6 c. Plot the ensemble average together with the previous two ensemble averages from above. d. When you do this, visually estimate the delay caused by this filter, and write a message (just use the disp command) to the screen giving your estimate of that delay. It should be the same as half the length of this fi...

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:

U. Houston - ECE - 4436
This is HW EX1.Work out SampleExam1Questions2008.pdf just as if you are taking an exam.You do not have to turn your solution in, but the exam review session will assume that you have already worked the sample exam.At the review session we will
U. Houston - ECE - 3
version 2, 11/15/02ECE 3332 - Project 3 Fall 2002 Overview. In this project you will convert your Project 2 solution to a client-server network solution. The details are below. NOTE: This design in no way resembles the way a real auction client an
U. Houston - ECE - 3332
version 2, 11/15/02ECE 3332 - Project 3 Fall 2002 Overview. In this project you will convert your Project 2 solution to a client-server network solution. The details are below. NOTE: This design in no way resembles the way a real auction client an
U. Houston - ECE - 3332
9/17/02ECE 3332 - Project 1 Fall 2002 In this project, you will design a set of objects that represent items that can be bid on at an online auction. 1. auction package Name your project directory lastnameP1, where lastname is your last name. For
U. Houston - ECE - 2
10/12/02ECE 3332 - Project 2 Fall 2002 The goal of Project 2 is to put a GUI frontend on your Project 1 program and to save the contents of UHBay to a file from which it can be reloaded. You will have a fair amount of leeway in choosing the "look
U. Houston - ECE - 3332
10/12/02ECE 3332 - Project 2 Fall 2002 The goal of Project 2 is to put a GUI frontend on your Project 1 program and to save the contents of UHBay to a file from which it can be reloaded. You will have a fair amount of leeway in choosing the "look
U. Houston - ECE - 6
ECE 3331 Applications Programming in ECEPROJECT:Solution of Laplaces Equation by Finite Differences in FortranDate assigned: November 19th, 2008 To be completed by: December 5th, 2008.Background Many problems in electrostatics involve boundarie
U. Houston - ECE - 3331
ELEE 3331 SAMPLE QUIZ 1I.Indicate whether each of the following is true or false by circling your choice: A. The step that converts a C source code into object code is called execution. TRUE FALSE B. All C programs must have a function named main. T
U. Houston - ECE - 3331
page 1 of 10SOLUTIONDO NOT OPEN THIS BOOKLET UNTIL YOU ARE INSTRUCTED TO DO SOECE 3331 - Exam 1 Fall 2002I agree to abide by the provisions of the University of Houston Academic Honesty Policy while taking this exam. Signature:__ Date:_INSTR
U. Houston - ECE - 3331
Page 1 of 7DO NOT OPEN THIS BOOKLET UNTIL YOU ARE INSTRUCTED TO DO SOECE 3331 - Exam 1 Spring 2003I agree to abide by the provisions of the University of Houston Academic Honesty Policy while taking this exam. Signature:__ Date:_INSTRUCTIONS:
U. Houston - ECE - 3331
Fortran Example - Newton's Methodcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc c Description: This program performs Newton's iterative method to solve c the equation f(x) = 0 where f(x) = a(0) + a(1)*x + a(2)*x^2 c
U. Houston - ECE - 3331
Array & Pointer Pop Quiz!1. Trace the execution of: main( ) {char blocks[3]={'B','I','G'}; char *ptr = &blocks[0]; char temp; temp = blocks[0]; temp= *(blocks+2); temp = *(ptr+1); temp = *ptr; ptr = blocks+1; temp=*ptr; temp = *(ptr+1); ptr=blocks;
U. Houston - ECE - 3331
page 1 of 8SolutionDO NOT OPEN THIS BOOKLET UNTIL YOU ARE INSTRUCTED TO DO SOECE 3331 - Exam 2 Fall 2002I agree to abide by the provisions of the University of Houston Academic Honesty Policy while taking this exam. Signature:__ Date:_INSTRU
U. Houston - ECE - 3331
Conversion Code g for OutputThe g (or G) conversion code may be used to perform signed, decimal floating point (float or double) conversion as an alternative to the f or e. The basic idea with the g code is to output the value in either decimal or e
U. Houston - ECE - 2
3 201.47 1.4399.5 8.000.51 0.4855.0 52.095.0 98.01 251.692 1.5439.831 8.6120.542 0.47161.0 59.098.0 100.0
U. Houston - ECE - 3331
3 201.47 1.4399.5 8.000.51 0.4855.0 52.095.0 98.01 251.692 1.5439.831 8.6120.542 0.47161.0 59.098.0 100.0
U. Houston - ECE - 3331
insert Fudd,Elmer210 El DoradoSmackover, AK 623528704549733insert Bunny,Buggs1515 Carrot Blvd.San Diego, CA 930144087821921insert Mouse,Mickey287 Mousetrap LaneHouston, TX 770237138460396print wholeupdate Fudd,Elmer9325162147insert Bir
U. Houston - ECE - 5
insert Fudd,Elmer210 El DoradoSmackover, AK 623528704549733insert Bunny,Buggs1515 Carrot Blvd.San Diego, CA 930144087821921insert Mouse,Mickey287 Mousetrap LaneHouston, TX 770237138460396print wholeupdate Fudd,Elmer9325162147insert Bir
U. Houston - ECE - 2300
ECE 2300 - Questions and Comments from 3x5 cards, March 8, 1999Q: How do we know when to use Voc vs Isc (when finding a Thevenin or Norton equivalent)?A: Good question, but there is no simple answer. I think this is one of those things that you
U. Houston - ECE - 2300
ECE 2300 - Questions and Comments from 3x5 cards, March 1, 1999Comment: I wish you proceeded slower on the board. I feel like I'm on a writing marathon.Comment on comment: This is the kind of comment that really needs to be made in class. I can
U. Houston - ECE - 1331
"Becker""Boris"67504107366448067586186836175858859717571"Clinton""Hillary"888890938991969999928997909490969998889786"Close""Glenn"89867775940687493897564575690846475598987"Clown""B
U. Houston - ECE - 1331
43-33115-6
U. Houston - ECE - 2300
ECE 2300 - Questions and Comments from Homework #1Q: If I took AC/DC Theory and Solid State Electronics at College of the Mainland (when I was thinking of going back to school for a 2nd degree and wanted to see if I would like EE) will those cours
U. Houston - ECE - 2300
ECE 2300 - Questions and Comments from 3x5 cards, February 3, 1999Comment: (Many versions) I am unclear on the Wheastone (sic) Wheatston (sic) bridge.Comment on comment: Try the homework, and see it doesn't help. Check the spelling also.Comm
U. Houston - ECE - 2300
ECE 2300 - Questions and Comments from 3x5 cards, February 8, 1999Comment: I am unclear about problem 2.19.Comment on comment: This is an important problem. Feel free to ask me to solve it at the beginning of class.Comment: Please do a probl
U. Houston - INDE - 6332
INDE 6332 ENGINEERING PROJECT MANAGEMENT CHAPTER 3 Part 2University of Houston Dept. of Industrial Engineering Houston, TX 77204-4812 (713) 743-4195AGENDAHomework/Project q Critical Chain q Continue with chapter 3 q Sections 3.4, 5, 6qsINDE
U. Houston - INDE - 6332
How do we win the race for success?Ranvir Biki Mohindra Vice President Technical Services Riviana Foods Inc. 1. How do I find a job?Most resumes look the same Focus on accomplishments & skillsNeed to accentuate differences Not by trying
U. Houston - CIVE - 4312
Geographic Information Systems CIVE 1188Hanadi Rifai, PhD, PE Civil and Environmental Engineering University of HoustonWhere did GIS come from? GIS is built upon knowledge from geography, cartography, computer science and mathematics Geographic
U. Houston - CIVE - 7332
CIVE 7332 Fall 2007 Modeling Hill Air Force Base Using BIOSCREEN Due Date: November 27, 2007 Download the BIOSCREEN model from http:/www.epa.gov/ada/csmos/models.html and download the manual for it. Set-up the model and familiarize yourself with the
U. Houston - CIVE - 7397
CIVE 7332 Fall 2007 Modeling Hill Air Force Base Using BIOSCREEN Due Date: November 27, 2007 Download the BIOSCREEN model from http:/www.epa.gov/ada/csmos/models.html and download the manual for it. Set-up the model and familiarize yourself with the
U. Houston - CIVE - 4312
LegendSims Bayou Sims Bayou Watershed-Bacteria TNAME 1007D 1007N 1007Q MetroWWTPs_Sims FLOW_MGD+ $0.00 - 0.10 0.11 - 1.30 1.31 - 4.00 4.01 - 7.05 7.06 - 28.00+ $$ +$ +$ +$ ++ $1007N$ +1007Q$ +$ +7D 100+ $$ +$ +$ + $ +
U. Houston - CIVE - 4312
LegendBrays Bayou BraysMUIDTX163 TX248 TX276100 7P1007B1007L0 1.5 3100 7C10 07 EMiles 6Figure 7. Soil types in Brays Bayou Watershed
U. Houston - CIVE - 4312
LegendSims Bayou Sims Bayou Watershed-Bacteria TNAME 1007D 1007N 1007Q ECGeomean_Sims Geomean (MPN/dL)! ( ! ( ! ( ! (513 514 - 1013 1014 - 1181 1182 - 16611007N! ( ! ( ! (1007Q! ( ! (7D 100 ! (0 1 2 Miles 4Figure 10. E.coli Geomean
U. Houston - CIVE - 4312
Legend! Water Quality Stations (Sims BayouSims Bayou Watershed-Bacteria TNAME1007D 1007N 1007Q! ( ! (1665511133! (15877! (11136! ( ! ( ! (17976 166561113415875! (! (111350 1 2 Miles 4Figure 3. Water Quality Stations
U. Houston - CIVE - 4312
Updated 1/15/2008CIVE 4312 - Civil Engineering Design Project Schedule - Spring 2008Instructor: Office Hrs: Location: Textbook: Teach. Asst.: Web Access: Week Of 1/15 1/22 1/29 2/5 2/12 2/19 2/26 3/4 3/11 3/18 3/25 4/1 4/8 4/15 4/22 Hanadi Rifai (
U. Houston - CIVE - 4312
CIVE 4312 Spring 2008 Project Research Paper Watershed Background Due: February 21, 2008 The Texas Commission on Environmental Quality (TCEQ) is concerned about water quality in Houston bayous. Virtually all bayous in Houston are on the state 303 li
U. Houston - CIVE - 4312
CIVE 4312 Spring 2008 Project Research Paper Total Maximum Daily Loads Due: February 21, 2008 The Clean Water Act has aimed to restore the nations surface water resources (streams, bayous, lakes, estuaries) to their fishable, swimmable state. While
U. Houston - CIVE - 4312
CIVE 4312 - CIVIL ENGINEERING DESIGN PROJECT (WATER RESOURCES AND ENVIRONMENTAL SECTION) ABET 2007 Syllabus1 2005 Catalog Data: CIVE 4312: Civil Engineering Design Project Cr. 3. (3-0). Prerequisites: CIVE 4311; and CIVE 4331, 4332 and 4333. Design o
U. Houston - CIVE - 4312
Engineers' Creed As a Professional Engineer, I dedicate my professional knowledge and skill to the advancement and betterment of human welfare. I pledge: To give the utmost of performance; To participate in none but honest enterprise; To live and wor
U. Houston - CIVE - 4312
CIVE 4312 Spring 2008 Project Research Paper BMPs Due: February 21, 2008 Stormwater is a significant carrier of pollutants that result in negative impacts to water quality in streams and bayous. In urban areas, pollutants entrained in runoff include
U. Houston - CIVE - 4312
CIVE 4312 ArcMap Exercise April 1, 2008 This exercise will demonstrate how to create a map using ESRI ArcMap. Copy the "4312_gis" folder (located in the CIVE4312 folder on Fish) save it to your H: driveOpen the program ArcMap (go to All Programs A
U. Houston - CIVE - 4312
CIVE 4312 Spring 2008 Project Research Paper Pathogens in Bayous Due: February 21, 2008 One of the concerns in surface water is the presence of pathogens or harmful bacteria that are a health hazard for recreational activities in bayous, streams, la
U. Houston - CIVE - 4312
LegendSims Bayou Sims Bayou Watershed-Bacteria TNAME 1007D 1007N 1007Q rastert_hgaclcm2_Simslu GRIDCODE Low Intensity Developed High Intensity Developed Cultivated land Grassland Woodyland Open Water Woody Wetland Bare/Transitional Non-Woody Wetland
U. Houston - CIVE - 4312
LegendBrays BayouBraysBayou_ECGeomeanMPN/dL! ( ! ( ! ( ! ( ! (708 - 1581 1582 - 2369 2370 - 3906 3907 - 4862 4863 - 6832100 7P! (15848! (158491007B !15850 (15851 11139 ! ( 15859 11309 ! ( 11138! (! (15852 15855! (! (!
U. Houston - CIVE - 4312
LegendBrays BayouBraysBayou_FCGoemeanMPN/dL! ( ! ( ! ( ! ( ! (910 - 2046 2047 - 3648 3649 - 6149 6150 - 11620 11621 - 16422100 71007BP! (! ( ! (! ( ! ( ! ( ! ( ! (100 7C! ( ! (! (! (1007L! (! (10 07 E! (! (! (Fi
U. Houston - CIVE - 4312
LegendSims BayouSims Bayou Watershed-BacteriaTNAME1007D 1007N 1007Q1007Q7D 1000 1 2 Miles 4 Figure 1. Water Quality Segments in Sims Bayou Watershed1007N
U. Houston - CIVE - 4312
LegendBrays BayouWWTPs_BraysFLOW_MGD$0.00 - 0.60$ 0.61 - 2.50$2.51 - 7.20$$ 7.21 - 23.10$23.11 - 60.00$ $ $ $100 7$P$$ $ $$$ $$$$$1007L$B 100710 07 E$ $$$100 7C$$$$ $ $ $ $ $ $0 1.5 3Mile
U. Houston - CIVE - 4312
LegendBrays Bayou_ [Brays_RainGagesBrays Bayou Watershed- Bacteria TNAME1007B 1007C 1007E 1007L 1007P_ [485_ [470_ [475_ [465_ [ _ [490 480430_ _ [ [ 420 _ [ 1020 _ [3990 400_ [3010_ [ _ [460_ [440_ [43
U. Houston - CIVE - 4312
Fecal Pathogens in Houston BayousCIVE4312 Hanadi RifaiPathogensDisease-causing bacteria and viruses associated with the presence of fecal matter cause: Health problems; and May require stream, beach, and shellfish bed closures.Present Standar
U. Houston - CIVE - 4312
Engineering DesignCIVE 4312 Hanadi RifaiWhat is an Engineer?ineers apply science and technology to elop solutions to practical problemsproblem t need to be solved for the benefit of humaniABET Definitionngineering is the profession in which
U. Houston - CIVE - 4312
Each folder contains the following shape files (.shp) files:1.Streams2.Watershed Boundaries (e.g. Brays Bayou)3.Water Quality Stations (e.g. stations_Brays)4.USGS (Flow) Gages (e.g. USGS_Brays)5.Rain Gages (e.g. Raingages_Sims)6.Wastewate
U. Houston - CIVE - 4312
Sheet1 illicit 2.shpLeaking Storm Sewer Data model ps.shpWWTP Data new subbasin.shpSubwatersheds for Buffalo and Whiteoak Bayous stations-tx83 latlong.shpWater Quality Stations for Buffalo and Whiteoak Bayou (does not have 11296) all tnrcc stations.s
U. Houston - CIVE - 4312
"FID_","ID","GRIDCODE","AREA","PERIMETER","ACRES","HECTARES","NEWID",1684.00,3.00,4603.75,309.37,0.10,0.04,2,1884.00,2.00,7270.63,1032.27,0.16,0.06,2,1885.00,3.00,13089.29,482.60,0.30,0.12,2,1975.00,2.00,21345.94,768.60,0.49,0.19,2,1976.00,2.00,
U. Houston - CIVE - 7332
CIVE 7332 - Groundwater Transport Fall 2007 Syllabus Instructor: Hanadi Rifai, Ph. D., P.E. x34271, rifai@uh.edu, Rm 138 Cullen Engineering Bldg D Office hrs: Tues/Thurs 8:30 - 12:00 and 1 - 3 TA: Textbook: (optional) Fouad Khan x30751, fouad.khan@ma
U. Houston - CIVE - 7397
CIVE 7332 - Groundwater Transport Fall 2007 Syllabus Instructor: Hanadi Rifai, Ph. D., P.E. x34271, rifai@uh.edu, Rm 138 Cullen Engineering Bldg D Office hrs: Tues/Thurs 8:30 - 12:00 and 1 - 3 TA: Textbook: (optional) Fouad Khan x30751, fouad.khan@ma
U. Houston - CIVE - 7332
Biodegradation and Natural AttenuationCive 7332 Lect 5Natural AttenuationThe biodegradation, dispersion, dilution, sorption, volatilization, and/or chemical and biochemical stabilization of contaminants to effectively reduce contaminant toxicity,
U. Houston - CIVE - 7397
Biodegradation and Natural AttenuationCive 7332 Lect 5Natural AttenuationThe biodegradation, dispersion, dilution, sorption, volatilization, and/or chemical and biochemical stabilization of contaminants to effectively reduce contaminant toxicity,
U. Houston - CIVE - 7332
Contaminant Fate and Transport ProcessesCIVE 7332 Lecture 4bFate and Transport Advection and Dispersion Covered in Days 1, 2 Sorption and Retardation Chemical/Abiotic processes Volatilization BiodegradationSorption and Retardation Sorptio
U. Houston - CIVE - 7397
Contaminant Fate and Transport ProcessesCIVE 7332 Lecture 4bFate and Transport Advection and Dispersion Covered in Days 1, 2 Sorption and Retardation Chemical/Abiotic processes Volatilization BiodegradationSorption and Retardation Sorptio
U. Houston - CIVE - 7332
ASTM User Trainingin Risk-Based Corrective Action for Chemical Releases (Provisional ASTM Standard Guide) Day 1Course ObjectivesxxxProvide an understanding of the risk-based decision process. Discuss the importance of Technical Policy Decis
U. Houston - CIVE - 7397
ASTM User Trainingin Risk-Based Corrective Action for Chemical Releases (Provisional ASTM Standard Guide) Day 1Course ObjectivesxxxProvide an understanding of the risk-based decision process. Discuss the importance of Technical Policy Decis