This preview shows pages 1–2. 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: CE 93 – Engineering Data Analysis Lab 3 (February 2, 2011) Data Preparation a. Go to bSpace: Resources -> Labs -> Lab3 and download all files to your current directory. b. In the “ Current Directory ” window in Matlab, double click “ SFBAdrivers.csv ” . The import wizard window will pop up. Your data set contains four columns as shown below: The ID of the household, the number of vehicles in that household, the number of licensed drivers living in the household and the household size. ID VehicleCount DriverCount HouseholdSize 1 2 2 6 2 1 1 1 3 3 4 5 4 2 2 2 5 3 3 3 In the import wizard, click “ Next ” , then choose “Create vectors from each column using column names ”. Click “Finish”. You can also import the data as we did in the last two labs. c. Assign new names to the columns in the dataset as follows: v = Vehicle Count, d = DriverCount, h = HouseholdSize Make sure these new variables show up in your “ Workspace ” tab. You can also check by using the command “ who ” . d. Import the other data set named “ flights_sample.csv ” . flt: Always 1, indicates the existence of a flight. ot: 1 if the flight was on time, 0 otherwise. Problem 1: Events Try to write the following events in set notation (unions, intersections). Calculate the number of observations for those events by using Matlab....
View Full Document
This note was uploaded on 06/02/2011 for the course CIV ENG 93 taught by Professor Staff during the Spring '08 term at University of California, Berkeley.
- Spring '08