EXPERIMENT 1 Create a script file (.m file) and name it as EXPT1_Surname Your code shall get the input from an excel file named as Data Set which can be seen in the Experiment 1 Submission Bin. It contains 100 data entries. You may directly import the excel file in MATLAB/MATLAB mobile or create a table/array containing the 100 data entries. You may already set the input and not prompt the user to type the values manually anymore. After running the code, the user is asked to type the number corresponding to the desired output to be shown on the command window. You may use IF-ELSE or SWITCH-CASE statements. Type 1 for all measures of central tendencies in table form Type 2 for all types of means (arithmetic, geometric, and harmonic) in table form Type 3 for all measures of variation in table form Type 4 for all results in table form If the user types a number that is not within 1-4, an output stating "ERROR, KINDLY RUN THE CODE AGAIN AND TYPE A NUMBER BETWEEN 1 AND 4" should be shown.

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
3
E
69 ANẵ8 №
S8
11
AWN-
1
42
U₁
9
8888
A
B
O
E
TI
F
G
H
Š
Transcribed Image Text:3 E 69 ANẵ8 № S8 11 AWN- 1 42 U₁ 9 8888 A B O E TI F G H Š
EXPERIMENT 1
Create a script file (.m file) and name it as EXPT1_Surname
Your code shall get the input from an excel file named as Data Set which can be seen in the Experiment 1 Submission
Bin. It contains 100 data entries. You may directly import the excel file in MATLAB/MATLAB mobile or create a
table/array containing the 100 data entries. You may already set the input and not prompt the user to type the
values manually anymore.
After running the code, the user is asked to type the number corresponding to the desired output to be shown on
the command window. You may use IF-ELSE or SWITCH-CASE statements.
Type 1 for all measures of central tendencies in table form
Type 2 for all types of means (arithmetic, geometric, and harmonic) in table form
Type 3 for all measures of variation in table form
Type 4 for all results in table form
If the user types a number that is not within 1-4, an output stating "ERROR, KINDLY RUN THE CODE AGAIN AND TYPE
A NUMBER BETWEEN 1 AND 4" should be shown.
Transcribed Image Text:EXPERIMENT 1 Create a script file (.m file) and name it as EXPT1_Surname Your code shall get the input from an excel file named as Data Set which can be seen in the Experiment 1 Submission Bin. It contains 100 data entries. You may directly import the excel file in MATLAB/MATLAB mobile or create a table/array containing the 100 data entries. You may already set the input and not prompt the user to type the values manually anymore. After running the code, the user is asked to type the number corresponding to the desired output to be shown on the command window. You may use IF-ELSE or SWITCH-CASE statements. Type 1 for all measures of central tendencies in table form Type 2 for all types of means (arithmetic, geometric, and harmonic) in table form Type 3 for all measures of variation in table form Type 4 for all results in table form If the user types a number that is not within 1-4, an output stating "ERROR, KINDLY RUN THE CODE AGAIN AND TYPE A NUMBER BETWEEN 1 AND 4" should be shown.
Expert Solution
steps

Step by step

Solved in 2 steps with 5 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