This script calculates the response spectrum of a single-degree-of-freedom (SDOF) system subjected to the El Centro earthquake using state-space methods. It loads the El Centro ground acceleration data, defines parameters for the SDOF system including damping ratio and time periods, uses state-space methods to calculate the response for each time period, computes the pseudo-acceleration, and plots the response spectrum.
This script calculates the response spectrum of a single-degree-of-freedom (SDOF) system subjected to the El Centro earthquake using state-space methods. It loads the El Centro ground acceleration data, defines parameters for the SDOF system including damping ratio and time periods, uses state-space methods to calculate the response for each time period, computes the pseudo-acceleration, and plots the response spectrum.
This script calculates the response spectrum of a single-degree-of-freedom (SDOF) system subjected to the El Centro earthquake using state-space methods. It loads the El Centro ground acceleration data, defines parameters for the SDOF system including damping ratio and time periods, uses state-space methods to calculate the response for each time period, computes the pseudo-acceleration, and plots the response spectrum.
This script calculates the response spectrum of a single-degree-of-freedom (SDOF) system subjected to the El Centro earthquake using state-space methods. It loads the El Centro ground acceleration data, defines parameters for the SDOF system including damping ratio and time periods, uses state-space methods to calculate the response for each time period, computes the pseudo-acceleration, and plots the response spectrum.
%This script calculates Response Spectrum of a SDOF system subjected to Elcentro-
% earthquake by using State-Space Method clear all; clc; %% Loading Ground Excitation eq=load('elcentro.txt'); eqa=eq(:,2).*9.81; %converting data into acceleration t=eq(:,1); %time vector corresponding to Elcentro earthquake %% Defining parameters for SDOF system zeta=0.05; %damping ratio dt=eq(2,1)-eq(1,1); %sampling time interval T=(0.001:0.01:5); %time periods for which maximum response is to be obtained omega=(2*pi)./T; %angular frequencies for which maximum response is to be obtained %% State-Space Application [sp] = statespace(omega,zeta,eqa,dt); %% Pseudo-Acceleration spP=sp.*omega.*omega; %getting pseudo acceleration %% Plotting Response Spectrum PlotFunction(T,spP);