Question: MATLAB Cable car times: Student teams competed in a cable car competition and recorded their times to race across a 50 m test cable. The

MATLAB

Cable car times: Student teams competed in a cable car competition and recorded their times to race across a 50 m test cable. The following times were recorded (in seconds):

8.50, 12.67, 13.50, 9.28, 10.05, 10.67, 10.05, 19.83, 15.44, 17.59, 9.77, 8.88,

(add 24 more values distributed between 5.00 and 20.00)

A) Enter the values above into Notepad in a format so that they can be read into a single

column vector or row vector. Save the text file using your last name and the problem

number for the file name.

B) Write a MATLAB program to read the text file and use functions in MATLAB to find and

display each of the following (including units). The program should work for a file with any number of values (not just for 36).

Average time

Median time

Mode

Standard deviation

Number of cable car runs recorded tested

Standard deviation

Maximum time

Minimum time

C) Display the original times (4 per line) with a descriptive heading

D) Sort the times from smallest to largest and display them again (4 per line) with a descriptive

heading.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!