lab5tasks

lab5tasks - ENGR 12600 Fall 2008 Laboratory 5 Task 1...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Task 1 Laboratory 5 Task 1 – Uploading Data to MATLAB and Descriptive Statistics (Estimated Time = 30 minutes) In this task, each student will learn how to load data into MATLAB. Consider this situation: As an industrial engineer working for an automotive company, one of your responsibilities is the manufacture of a shaft, which requires milling a bearing journal. (A journal is the part of a rotating shaft, axle, or spindle that turns in a bearing.) You study this process by measuring a sample of the shafts as they come off the line until you have a sample size of 26. Sample Number Diameter (inches) Sample Number Diameter (inches) 1 20.541 14 20.537 2 20.425 15 20.591 3 20.475 16 20.515 4 20.547 17 20.479 5 20.678 18 20.648 6 20.651 19 20.437 7 20.531 20 20.581 8 20.580 21 20.692 9 20.558 22 20.539 10 20.677 23 20.413 11 20.400 24 20.743 12 20.408 25 20.415 13 20.526 26 20.537 1. The above data are available in electronic form from the Lab 4 links on Blackboard in a file named journal_diam.txt . Save journal_diam.txt to your career account. 2. In MATLAB, resave your probtemplate.m as lab5task1.m and properly comment the file. 3. In the script file, load the data set journal_diam.txt using the load command. Examples are: load journal_diam.txt load „journal_diam.txt‟ S = load(„journal_diam.txt‟) 4. In your script, compute the mean, median, standard deviation, minimum, and maximum of the journal diameters measured above. Record the results for each statistic as comments under the output section in your script file. 5.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/12/2012 for the course ENGR 126 taught by Professor Oakes during the Fall '08 term at Purdue.

Page1 / 4

lab5tasks - ENGR 12600 Fall 2008 Laboratory 5 Task 1...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online