洛马普里塔地震分析

2025-05-17 20:17:28

1、从加载数据开始。load quakewhos e n v

洛马普里塔地震分析

2、Time = (1/200)*seconds(1:length(e))';whos Time

洛马普里塔地震分析

3、varNames = {'EastWe衡痕贤伎st', 'NorthSouth', 'Vertical&垆杪屑丝#39;};quakeData = timetable(Time, e, n, v, 'VariableNames', varNames);head(quakeData)

洛马普里塔地震分析

4、plot(quakeData.Time,quakeData.EastWest)title('East-West Acceleration')

洛马普里塔地震分析

5、quakeData.Variables = 0.098*quakeData.Variables;

6、t1 = seconds(8)*[1;1]挢旗扦渌;t2 = seconds(15)*[1;1];hold onplot([t1 t2],ylim,'k','LineWidth',2)hold off

洛马普里塔地震分析

7、tr = timerange(seconds(8),seconds(15));dataOfInterest = quakeData(tr,:);head(dataOfInterest)

洛马普里塔地震分析

8、figuresubplot(3,1,1)plot(dataOfInterest.Time,dataOfInterest.EastWest)y造婷用痃label('East-West')title('Acceleration')subplot(3,1,2)plot(dataOfInterest.Time,dataOfInterest.NorthSouth)ylabel('North-South')subplot(3,1,3)plot(dataOfInterest.Time,dataOfInterest.Vertical)ylabel('Vertical')

洛马普里塔地震分析
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢