Matlab Programming Question An earthquake data (GM01) is provided as shown. The
ID: 3828024 • Letter: M
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 (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.Explanation / Answer
b)The earthequake maximum acceleration would be more than 100m^2/s as the value of earthquake is found to increase more than 100 and beyond 100metre square per second of acceleration,it fluctuates and does not settle to a normal value.
c)If the recorder is broken and if it can measure only from 0.2g to -0.2g,then the plot would be in the form of a stable graph were after the positive value of 0.2,the value will drastically reduce to zero and hence it would be a linear straight line.
d)With ground data 2995being increased to 5000,th value of earthquake acceleration varies to a higher value.