ENGR13200_Sp2012_HW04_Problems

ENGR13200_Sp2012_HW04_Problems - ENGR 13200 Ideas to...

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

View Full Document Right Arrow Icon
ENGR 13200 Ideas to Innovations Part II Spring 2012 HOMEWORK #4 Due: Class 4B SUMMARY OF READING AND UPCOMING DELIVERABLES DUE HC E Reading: Flowcharts/Pseudocode/Selection Structures - Chapter 28.2-3 (pp. 631-637) 4a Logic and Conditionals - Chapter 12.3 (pp. 201-207) 4a Homework Problems [60 Points]: Problem 1 (20 pts): MATLAB Statistics, Histograms & Cumulative Distributions 4b Problem 2 (20 pts): MATLAB Histograms and Cumulative Distributions 4b Problem 3 (20 pts): Logic Exercise: Truth Tables 4b & - MEA1 Just-in-Time Manufacturing: MEA1: Peer Calibration 4b - MEA1: Peer Review 4b - HC = Hard copy E = Electronic submission You can lose points if you fail to follow the programming standards: -5 points if you do not use the appropriate template file. -5 points if you do not use descriptive variable names. -5 points if you do not associate comments with most lines of code or if you do not specify units (e.g., meters); this applies to the Inputs, Calculations, and Outputs sections. A maximum of 15 points per homework can be deducted for violating these 3 standards. 1. MATLAB Statistics, Histograms & Cumulative Distributions (This problem is to be completed individually and contributes to your homework grade . ) Consider this situation: The first-year engineering class has agreed to send the TAs on a relaxing sea fishing trip. However, the TAs will need appropriate fishing poles to land the "big one". Three models of fishing poles have been selected. Since an alumnus of ENGR 132 is a test engineer for the pole manufacturer, you have been able to obtain data on the models. The data is a simple load test (pound test) to measure the strength of the poles. The file is called poles.dat . The data is stored as a matrix, organized into columns as follows: The first column represents the Sample Number The second column represents the load test data collected on the Ultra model, The third column represents the load test data collected on the Extreme model The fourth column represents the load test data collected on the Moby model. A. In MATLAB, resave script_header_template.m as hw04_poles_yourlogin.m . Comment the code appropriately during the steps that follow. B. In the script file, in the INPUTS section, load the data set poles.dat using the load command in the inputs section. Extract the loaded test data for each type of fishing pole.
Background image of page 1

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

View Full DocumentRight Arrow Icon
ENGR 13200 Ideas to Innovations Part II Spring 2012 C. In the CALCULATIONS section, use appropriate MATLAB statistical commands to compute the average, standard deviation, minimum, and maximum for the three types of fishing poles represented in the data. In the OUTPUTS section, clearly display the results of these computations to the MATLAB workspace using the fprintf command. Copy and paste the results as comments in the OUTPUTS section of your code.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 10

ENGR13200_Sp2012_HW04_Problems - ENGR 13200 Ideas to...

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

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