Question: Imagine the data being there, how would you load,and write this MATLAB code to do the following for the data? A small scale, nine-story, three-bay,

Imagine the data being there, how would you load,and write this MATLAB code to do the following for the data?

A small scale, nine-story, three-bay, reinforced concrete test structure (see image below) was built and tested by structural engineers on a large-scale shake table to simulate the effects of an earthquake. The structure was subjected to earthquake base accelerations in one horizontal direction. Accelerations (measured in gs) of the affected structure were measured every .005 seconds at each story for the duration of the test. Refer to the data file provided for all accelerations.

Displacement is an important consideration when analyzing and designing buildings subject to earthquake motions. Understanding displacement between adjacent floors of a building subject to earthquake ground motions is important in helping structural engineers design to prevent damage and potential failure. With acceleration vs. time data, displacement can be determined by integrating acceleration over time twice (integrate acceleration over time once to determine velocity and then integrate velocity to obtain displacement). The approximate solutions for velocity and displacement can be obtained by using numerical integration methods.

Write an executive function that:

-Imports the necessary data sets

-Converts the acceleration data to in/s^2

-Calls the conversion user defined function once to integrate the inputted data to calculate velocity, and a second time to calculate the displacement values (acceleration to

velocity, velocity to displacement) for each floor.

-Calls the user defined function in the previous step to plot the calculated displacement and absolute measured displacements for the 9th floor.

Calls a user defined function for the previous step to calculate the inter-story drifts in the building.

Write a single-input single-output user defined function that:

a. calculates integrated cumulative integral vector based on an inputted data vector

i. Hint: see the cumtrapz() function. b. outputs the integrated data vector for that floor

Imagine the data being there, how would you load,and write this MATLAB

Typical Accelerometer Measure Minor Direction Horizontal Acceleration Typical Mecsures Vertical Acceleration Accelerometer Typical LVOT Meosure Mojor Direction Horizontal Displacement Typical Accelerometer Neasure Mojor Direction Horizontol Acceeration East 9th floor Steel Reference Dimensions are irn inches Base level Top of the shake table Typical Accelerometer Measure Minor Direction Horizontal Acceleration Typical Mecsures Vertical Acceleration Accelerometer Typical LVOT Meosure Mojor Direction Horizontal Displacement Typical Accelerometer Neasure Mojor Direction Horizontol Acceeration East 9th floor Steel Reference Dimensions are irn inches Base level Top of the shake table

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!