- Details
- Parent Category: Programming Assignments' Solutions
We Helped With This MATLAB Programming Assignment: Have A Similar One?
SOLVED

Short Assignment Requirements
- in the attached file.One of the attached files is the data of GM01
Assignment Image
![MATLAB Assignment Description Image [Solution]](/images_solved/779989/1/im.webp)
Project description:
0.6
0.4
0.2
0
-0.2
-0.4
0
wwwwww
500
1000
1500
2000
2500
An earthquake data (GM01) is provided as shown. The y axis is its acceleration with unit g.
3000
a) Use matlab if/while/for function (do not use cumtrapz or cumsum, etc). Provide a graph
of its acceleration, velocity and displacement in a same figure. (Hints: the slope of an
acceleration graph is its velocity.)
b) Find this earthquake's maximum acceleration (m/s2), velocity(m/s) and
displacement(cm)
c) If the recorder is broken and it can only record the earthquake from 0.2g to -0.2g. Plot
the new acceleration vs time graph.
d) This ground motion has 2995 data. Expand the number of acceleration data and time
data to 5000. Plot the new acceleration vs time graph.
Requirement:
1) All problems need to provide your matlab script.(don't forget to use %comment to
explain it)
2) All plots need to have label, title, legend, etc.