Question: Please do # 1 in matlab. Write a program that will read a file of 1 - D motion ( time in seconds and position

Please do #1 in matlab. Write a program that will read a file of 1-D motion (time in seconds and position in meters) and return
the following information:
Total Displacement
Total Distance traveled
Maximum, minimum, and average velocity
Maximum, minimum, and average acceleration
Plots of position, velocity and acceleration vs time
Note: the file will be one coordinate pair per line and comma delimited, the points are not necessarily in
temporal order or evenly spaced in time. A test file is provided.
Here is the test file data:
3.6,10.17
0.8,2.56
1.3,4.16
8.8,7.754
5.8,10.394
4.5,10.944
5.7,10.482
5,10.954
6,10.218
9.3,7.614
2.5,7.904
7,9.338
0.1,0.32
6.3,9.954
0.4,1.28
9,7.626
3.2,9.514
7.9,8.546
4.4,10.906
10,8.426
7.3,9.074
7.1,9.25
8,8.458
2.9,8.896
9.4,7.658
4.1,10.72
6.8,9.514
9.6,7.818
7.5,8.898
3.9,10.536
6.9,9.426
6.5,9.778
0,0
2.4,7.626
1.8,5.76
7.6,8.81
5.2,10.874
2.6,8.17
5.4,10.746
1.4,4.48
2.7,8.424
9.2,7.594
1,3.2
6.4,9.866
8.2,8.282
7.4,8.986
3.4,9.866
2.8,8.666
4.8,10.986
6.2,10.042
9.5,7.726
6.6,9.69
7.7,8.722
1.1,3.52
5.9,10.306
9.9,8.238
3.7,10.304
2.2,7.034
0.2,0.64
3.8,10.426
0.9,2.88
0.7,2.24
2.3,7.336
8.5,8.018
6.1,10.13
0.6,1.92
5.1,10.92
5.3,10.816
8.6,7.93
1.5,4.8
4.7,10.984
4.2,10.794
7.2,9.162
8.3,8.194
1.2,3.84
8.1,8.37
9.7,7.934
0.5,1.6
6.7,9.602
0.3,0.96
4,10.634
9.8,8.074
3.1,9.32
4.6,10.97
8.7,7.842
8.4,8.106
9.1,7.598
2.1,6.72
4.3,10.856
5.5,10.658
4.9,10.976
1.6,5.12
5.6,10.57
7.8,8.634
3.3,9.696
2,6.4
1.7,5.44
3,9.114
1.9,6.08
8.9,7.678
3.5,10.024
Please do # 1 in matlab. Write a program that

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 Programming Questions!