Question: Matlab Programming Question An earthquake data (GM01) is provided as shown. The y axis is its acceleration with unit g. a) Use MATLAB if/while/for function

Matlab Programming Question

Matlab Programming Question An earthquake data (GM01) is provided as shown. The

An earthquake data (GM01) is provided as shown. The y axis is its acceleration with unit g. 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. 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 about 6000 (or more). Plot the new acceleration vs time graph. Requirement: All problems need to provide your MATLAB script .(don't forget to use %comment to explain it) All plots need to have label, title, legend, etc

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!