An experiment with 10 participants was conducted to measure simple reaction time: the time to press a button in response to a visual stimulus (a light). This was a pilot study, so only five participants were tested. The reaction times in milliseconds for the five participants over 10 trials are shown below. Trial Susan Abdul Krisha Sam Sara T1 326 311 242 270 447 T2 395 256 184 492 429 T3 383 280 432 377 452 T4 337 344 454 315 556 T5 463 345 304 368 483 T6 194 287 385 302 307 T7 303 290 225 184 442 T8 235 266 425 483 319 T9 180 134 371 269 493 T10 484 265 293 312 375

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

An experiment with 10 participants was conducted to measure simple reaction time: the time to press a button in response to a visual stimulus (a light). This was a pilot study, so only five participants were tested. The reaction times in milliseconds for the five participants over 10 trials are shown below.

Trial Susan Abdul Krisha Sam Sara
T1 326 311 242 270 447
T2 395 256 184 492 429
T3 383 280 432 377 452
T4 337 344 454 315 556
T5 463 345 304 368 483
T6 194 287 385 302 307
T7 303 290 225 184 442
T8 235 266 425 483 319
T9 180 134 371 269 493
T10 484 265 293 312 375

 

Write a MATLAB program (a4q3.m) that uses the readtable function to read the data from
reaction_time.xlsx into a table T. Process the data to compute the minimum, the mean, and the
maximum reaction time for each participant over the ten trials. Generate output to the Command
Window, formatted exactly as follows:
Reaction Time Experiment Results
Reaction Time (ms)
Participant
Min
Mean
Маx
Susan
180
330.0
484
Abdul
134
277.8
345
Krisha
184
331.5
454
Sam
184
337.2
492
Sara
307
430.3
556
The participant names should be extracted from the table and the min, mean, and max values
should be computed from data in the table (i.e., do not type the values into your script). Also,
generate the five data lines in the table above using a single fprintf statement with four
formatting elements and without using a loop.
Transcribed Image Text:Write a MATLAB program (a4q3.m) that uses the readtable function to read the data from reaction_time.xlsx into a table T. Process the data to compute the minimum, the mean, and the maximum reaction time for each participant over the ten trials. Generate output to the Command Window, formatted exactly as follows: Reaction Time Experiment Results Reaction Time (ms) Participant Min Mean Маx Susan 180 330.0 484 Abdul 134 277.8 345 Krisha 184 331.5 454 Sam 184 337.2 492 Sara 307 430.3 556 The participant names should be extracted from the table and the min, mean, and max values should be computed from data in the table (i.e., do not type the values into your script). Also, generate the five data lines in the table above using a single fprintf statement with four formatting elements and without using a loop.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
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