Q: A Dam in Iraq is discharging water quantities daily as shown in the the manager of the dam requests from one of the dam engineers to write program to find the quantities that less than the average value of al quantities. He is also ordered the engineer to display the results like 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.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section6.1: Function And Parameter Declarations
Problem 10E
icon
Related questions
Question
Please solve quickly Matlab
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
3
4
7
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 3 4 7 9. 10 11 12 13 14 15 16
Expert Solution
steps

Step by step

Solved in 3 steps with 1 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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning