Write the code for the question using the Matlab editor and download the answer and the code file in the designated places * Q: A Dam in Iraq is discharging water quantities daily as shown in the table below, the manager of the dam requests from one of the dam engineers to write a MATLAB program to find the quantities that less than the average value of all discharged quantities. He is also ordered the engineer to display the results like a table and plotting them as two groups, each group must plot as a subplot. The program must include the following: 1- Title and definition of the variables in the first part. 2- Section for input values. 3- Section to find the quantities that less than the average value of all discharged quantities. 4- Printing the results as a table. 5- Plotting two groups of discharged quantities (first group from one to the middle and the second group from middle to the end value) as two subplots. The plots must include title, axes labels, scaling both axes, use any style color for lines and markers. The code must write using MATLAB editor. Also, each student must take clear pictures to the program and the results (table and the plots), then converted them to a pdf file. The file of the MATLAB program must submit with the answer too. Water discharged 200 320 180 290 370 170 240 255 270 300 230 150 120 280 330 260 (m³/day) Time (day) 1 2 3 4 5 6 8 9 10 11 12 13 14 15 16

Elements Of Electromagnetics
7th Edition
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Sadiku, Matthew N. O.
ChapterMA: Math Assessment
Section: Chapter Questions
Problem 1.1MA
icon
Related questions
Question

 

Write the code for the question using the Matlab editor
and download the answer and the code file in the designated places
Q: A Dam in Iraq is discharging water quantities daily as shown in the table below,
the manager of the dam requests from one of the dam engineers to write a MATLAB
program to find the quantities that less than the average value of all discharged
quantities. He is also ordered the engineer to display the results like a table and
plotting them as two groups, each group must plot as a subplot.
The program must include the following:
1- Title and definition of the variables in the first part.
2- Section for input values.
3- Section to find the quantities that less than the average value of all discharged
quantities.
4- Printing the results as a table.
5- Plotting two groups of discharged quantities (first group from one to the
middle and the second group from middle to the end value) as two subplots.
The plots must include title, axes labels, scaling both axes, use any style color
for lines and markers.
The code must write using MATLAB editor. Also, each student must take clear
pictures to the program and the results (table and the plots), then converted them to
a pdf file. The file of the MATLAB program must submit with the answer too.
Water
discharged 200 320 180 290 370 170 240 255 270 300 230 150 120 280 330 260
(m³/day)
Time (day)
1 2
3 4
5
6 7
8 9
*
10 11 12 13 14
15 16
Transcribed Image Text:Write the code for the question using the Matlab editor and download the answer and the code file in the designated places Q: A Dam in Iraq is discharging water quantities daily as shown in the table below, the manager of the dam requests from one of the dam engineers to write a MATLAB program to find the quantities that less than the average value of all discharged quantities. He is also ordered the engineer to display the results like a table and plotting them as two groups, each group must plot as a subplot. The program must include the following: 1- Title and definition of the variables in the first part. 2- Section for input values. 3- Section to find the quantities that less than the average value of all discharged quantities. 4- Printing the results as a table. 5- Plotting two groups of discharged quantities (first group from one to the middle and the second group from middle to the end value) as two subplots. The plots must include title, axes labels, scaling both axes, use any style color for lines and markers. The code must write using MATLAB editor. Also, each student must take clear pictures to the program and the results (table and the plots), then converted them to a pdf file. The file of the MATLAB program must submit with the answer too. Water discharged 200 320 180 290 370 170 240 255 270 300 230 150 120 280 330 260 (m³/day) Time (day) 1 2 3 4 5 6 7 8 9 * 10 11 12 13 14 15 16
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Work and Heat
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Elements Of Electromagnetics
Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press
Mechanics of Materials (10th Edition)
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON
Thermodynamics: An Engineering Approach
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education
Control Systems Engineering
Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY
Mechanics of Materials (MindTap Course List)
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning
Engineering Mechanics: Statics
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY