Download the file MPG.dat from the course website. This is a two-column data file. The 53...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Download the file MPG.dat from the course website. This is a two-column data file. The 53 31.0 first column is the day since 1 July 2008, and the second is the gas mileage (in miles per gallon) of a particular car since the last time the tank was filled. 64 30.8 73 29.8 Make a one-page figure with three plots on it. The first plot should be in the upper half of the page, and graph the gas mileage as a function of day. Make the data points little circles, and do not connect them with lines. Set the axis limits from zero to 1200 for the days, and 20 to 40 for the mileage. Label the axes "Day since July 1, 2008" and "MPG". 84 30.5 92 30.0 101 28.8 105 31.6 You will need the MATLAB commands load, subplot, axis, xlabel, and ylabel for this part, as well as some other commands you have already seen. 108 34.0 112 32.1 120 29.3 The second and third plots are in the lower left and lower right portions of the page. They should be histograms of the gas mileage, for certain periods of time. The lower left should histogram the mileage for the period January and February months, and the lower right should histogram the mileage for July and August. For each plot, include a title that gives the average mileage + its standard deviation, for that time period. 124 32.9 127 31.4 136 28.9 143 28.4 You will need the MATLAB commands datenum, find, hist, stairs, title, and num2str for this 151 28.0 part, as well as some other commands you have already seen. You may also find it useful to use the mod command, so that you can pick out days modulo 365; this makes it easier to select the months independent of the year. 158 26.1 168 25.5 181 25.0 193 24.8 204 24.8 All you need to turn in is a figure of your one page with the three plots, saved in whatever format you like. 210 27.3 217 26.3 226 26.4 237 27.1 253 28.3 Download the file MPG.dat from the course website. This is a two-column data file. The 53 31.0 first column is the day since 1 July 2008, and the second is the gas mileage (in miles per gallon) of a particular car since the last time the tank was filled. 64 30.8 73 29.8 Make a one-page figure with three plots on it. The first plot should be in the upper half of the page, and graph the gas mileage as a function of day. Make the data points little circles, and do not connect them with lines. Set the axis limits from zero to 1200 for the days, and 20 to 40 for the mileage. Label the axes "Day since July 1, 2008" and "MPG". 84 30.5 92 30.0 101 28.8 105 31.6 You will need the MATLAB commands load, subplot, axis, xlabel, and ylabel for this part, as well as some other commands you have already seen. 108 34.0 112 32.1 120 29.3 The second and third plots are in the lower left and lower right portions of the page. They should be histograms of the gas mileage, for certain periods of time. The lower left should histogram the mileage for the period January and February months, and the lower right should histogram the mileage for July and August. For each plot, include a title that gives the average mileage + its standard deviation, for that time period. 124 32.9 127 31.4 136 28.9 143 28.4 You will need the MATLAB commands datenum, find, hist, stairs, title, and num2str for this 151 28.0 part, as well as some other commands you have already seen. You may also find it useful to use the mod command, so that you can pick out days modulo 365; this makes it easier to select the months independent of the year. 158 26.1 168 25.5 181 25.0 193 24.8 204 24.8 All you need to turn in is a figure of your one page with the three plots, saved in whatever format you like. 210 27.3 217 26.3 226 26.4 237 27.1 253 28.3
Expert Answer:
Answer rating: 100% (QA)
MATLAB Code for plotting given requirements is given below Comments are included in the code for bet... View the full answer
Related Book For
Mathematical Applications for the Management Life and Social Sciences
ISBN: 978-1305108042
11th edition
Authors: Ronald J. Harshbarger, James J. Reynolds
Posted Date:
Students also viewed these mathematics questions
-
The following list gives the measured gas mileage in miles per gallon for 22 cars of the same model. Plot the absolute frequency histogram and the relative frequency histogram. 23 25 26 25 27 25 24...
-
What is the fuel usage in miles per gallon of a 3.00 10 3 lbf car? Suppose that the weight of the gasoline in lbf in a cars gas tank equaled the weight of the car in lbf to the 2/3 power (i.e., if G...
-
A 1-m3 tank is filled with a gas at room temperature 20C and pressure 100 kPa. How much mass is there if the gas is a) air, b) neon or c) propane?
-
Which of the following statements about an acquiescence is correct? a. Acquiescences are published only for certain regular decisions of the U.S. Tax Court. b. The IRS does not issue acquiescences to...
-
Compare and contrast hydrologic and hydraulic routing methods.
-
Troy Abraham had the following assets and liabilities as of October 1, 2019. Assets Liabilities Cash $6,500 Automobile $8,700House $165,000 Contents of Home $6,400 Prepaid Insurance $1,700 Unpaid...
-
A long water trough of triangular cross section is formed from two planks as is shown in Fig. P3.102. A gap of 0.1 in. remains at the junction of the two planks. If the water depth initially was \(2...
-
The December 22, 2009, edition of the Wall Street Journal has an article by Kevin Kelliker entitled In Risky Move, GM to Run Plants Around Clock. Instructions Read the article and answer the...
-
A nursing team is having a routine meeting. One of the nurses, Stephen, is at the end of a 12-hour shift, and another nurse, Tanya, is just beginning hers. Tanya is a senior nurse in the unit with...
-
Determine the components of F that act along rod AC and perpendicular to it. Point B is located at the midpoint of the rod. 6 m 4 m D B F = 600 N 4 m 3 m 4 m
-
Discuss the process of conducting an appraisal. What are the most important steps? What is the most important data required, and where is the data located? List and describe the various appraisal...
-
It might be counter-intuitive, but knowing when to walk away is sometimes the best course of action. When is it a salespersons best course of action?
-
Describe the three forms of expansion selling.
-
How can income statement data be used to estimate cash flow?
-
In the Ricardian trade model, comparative advantage is determined by: A. technology. B. the capital-to-labor ratio. C. the level of labor productivity.
-
What are the two primary tests that good cost allocation processes pass?
-
If 1.5 liters of 13.5 M Mgl2 is diluted to a final concentration of 8.9 M, what is the final volume of the diluted Mgl2 in liters?
-
Explain how the graph of each function can be obtained from the graph of y = 1/x or y = 1/x 2 . Then graph f and give the (a) Domain (b) Range. Determine the largest open intervals of the domain over...
-
Solve each system by elimination or by any convenient method? 1. 2. 3. 4. S7x + 2y = 26 4 %3D 16 S 2x + 5y = 24 -6x + 2y = 30
-
At one of its factories, a manufacturer of televisions makes one or more of four models of HD units (without cases): a 20-in. LCD, a 42-in. LCD, a 42-in. plasma, and a 50-in. plasma. The assembly and...
-
Use the left-to-right elimination method to solve the systems in Problems? 1. 2. 3. 4. 5. x+ 2y + z= 2 -y + 3z = 8 2z = 10
-
How are the identifiable assets and liabilities acquired in a business combination measured?
-
What is meant by deferred consideration and how is it accounted for?
-
Distinguish between a business combination and a non-business acquisition.
Study smarter with the SolutionInn App