Write the code for the question using the Matlab edi ownload the answer and the code file in the designated place

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
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 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY