Twelve university students (7 female, 5 male) participated in a research study on fitness. Each wore a fitness monitor for one month in each of three time periods: Spring, Summer, and Fall. The fitness monitor logged the number of steps walked and reported the number as an average per day for each time period. The data are shown bellow. Participant ID Sexa Spring Summer Fall 50001 2 10035 19588 9442 50002 2 14443 16138 11263 50003 16076 17843 13199 50004 1 16124 12545 15307 50005 1 17411 14455 18872 50006 2 13187 17854 9526 50007 1 15254 15628 12385 50008 2 15621 17242 17454 50009 1 14813 17731 18080 50010 1 10156 12791 17439 50011 2 18738 11585 12854 50012 1 13883 20735 10277 a 1 = female, 2 = male Write a MATLAB program that does the following

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
Twelve university students (7 female, 5 male) participated in a research study on fitness.
Each wore a fitness monitor for one month in each of three time periods: Spring, Summer, and Fall.
The fitness monitor logged the number of steps walked and reported the number as an average per
day for each time period. The data are shown bellow.
Participant ID
Sexa
Spring
Summer
Fall
50001
2
10035
19588
9442
50002
2
14443
16138
11263
50003
1
16076
17843
13199
50004
1
16124
12545
15307
50005
1
17411
14455
18872
50006
2
13187
17854
9526
50007
1
15254
15628
12385
50008
2
15621
17242
17454
50009
1
14813
17731
18080
50010
1
10156
12791
17439
50011
2
18738
11585
12854
50012
1
13883
20735
10277
а 1
female, 2
male
%3D
%D
Write a MATLAB program that does the following
Transcribed Image Text:Twelve university students (7 female, 5 male) participated in a research study on fitness. Each wore a fitness monitor for one month in each of three time periods: Spring, Summer, and Fall. The fitness monitor logged the number of steps walked and reported the number as an average per day for each time period. The data are shown bellow. Participant ID Sexa Spring Summer Fall 50001 2 10035 19588 9442 50002 2 14443 16138 11263 50003 1 16076 17843 13199 50004 1 16124 12545 15307 50005 1 17411 14455 18872 50006 2 13187 17854 9526 50007 1 15254 15628 12385 50008 2 15621 17242 17454 50009 1 14813 17731 18080 50010 1 10156 12791 17439 50011 2 18738 11585 12854 50012 1 13883 20735 10277 а 1 female, 2 male %3D %D Write a MATLAB program that does the following
Compute and output the overall average steps per day for the female participants and the male
participants. Create nicely aligned output in the command window as follows:
Female mean: xxxxx steps per day
Male mean:
XXXXX steps per day
Above, replace xxxxx with the mean steps per day with 0 decimal places.
Transcribed Image Text:Compute and output the overall average steps per day for the female participants and the male participants. Create nicely aligned output in the command window as follows: Female mean: xxxxx steps per day Male mean: XXXXX steps per day Above, replace xxxxx with the mean steps per day with 0 decimal places.
Expert Solution
steps

Step by step

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