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

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Please solve quickly matlab code. 

 

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 5 steps with 5 images

Blurred answer
Knowledge Booster
Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education