✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。
🍎个人主页:Matlab科研工作室
🍊个人信条:格物致知。
更多Matlab仿真内容点击👇
⛄ 内容介绍
随着综合国力迅速提升,我国进行了大规模的公路网络建设,兴建了数以万计的公路桥梁,为整个经济社会的可持续发展提供了有力支撑。然而,国内外历次大地震中有大量公路桥梁发生破坏,这极大地降低了公路交通的通行能力,严重阻碍应急救援工作和城市日常生活。我国是遭受地震灾害最多的国家之一,因此,在我国开展公路桥梁地震易损性研究具有重要的现实意义。本文在对汶川地震公路桥梁调查数据深度挖掘整理和全面归纳总结之基础上,采用多种方法比较系统地研究了当代公路桥梁的地震易损性,还开展了基于公路桥梁震害评定地震烈度的研究,旨在更好地服务于公路桥梁的震害预测和损失评估、震后可恢复性研究、交通系统的地震风险分析,以及应急救灾决策的制定和完善抗震设计理论等工作,从而达到减轻桥梁震害和提高救援效率之目的。
⛄ 部分代码
function varargout = zhenhai_quxian(varargin)
% ZHENHAI_QUXIAN MATLAB code for zhenhai_quxian.fig
% ZHENHAI_QUXIAN, by itself, creates a new ZHENHAI_QUXIAN or raises the existing
% singleton*.
%
% H = ZHENHAI_QUXIAN returns the handle to a new ZHENHAI_QUXIAN or the handle to
% the existing singleton*.
%
% ZHENHAI_QUXIAN('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in ZHENHAI_QUXIAN.M with the given input arguments.
%
% ZHENHAI_QUXIAN('Property','Value',...) creates a new ZHENHAI_QUXIAN or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before zhenhai_quxian_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to zhenhai_quxian_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help zhenhai_quxian
% Last Modified by GUIDE v2.5 02-Feb-2021 21:46:56
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @zhenhai_quxian_OpeningFcn, ...
'gui_OutputFcn', @zhenhai_quxian_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before zhenhai_quxian is made visible.
function zhenhai_quxian_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to zhenhai_quxian (see VARARGIN)
% Choose default command line output for zhenhai_quxian
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes zhenhai_quxian wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = zhenhai_quxian_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
function edit1_Callback(hObject, eventdata, handles)
% hObject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of edit1 as text
% str2double(get(hObject,'String')) returns contents of edit1 as a double
% --- Executes during object creation, after setting all properties.
function edit1_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit2_Callback(hObject, eventdata, handles)
% hObject handle to edit2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of edit2 as text
% str2double(get(hObject,'String')) returns contents of edit2 as a double
% --- Executes during object creation, after setting all properties.
function edit2_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
axis([0 1.2 0 100])
xlabel('PGA/g','fontsize',10);
ylabel('超越概率/(%)','fontsize',10);
% --- Executes on button press in pushbutton2.
function pushbutton2_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
fnew=figure
copyobj(handles.axes1,fnew)
% --- Executes on button press in pushbutton4.
function pushbutton4_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton4 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
close(gcf);
% --- Executes on button press in pushbutton3.
function pushbutton3_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% 重置清空图片
cla(handles.axes1,'reset');
% 重置清空动态txt的文字
set(handles.edit1,'string','');
set(handles.edit2,'string','');
set(handles.edit3,'string','');
set(handles.edit4,'string','');
set(handles.edit5,'string','');
⛄ 运行结果
⛄ 参考文献
[1] 熊政辉. 面向地震保险的巨灾模型研究与应用[D]. 中国地震局地球物理研究所.
[2] 张龙飞, 董斌, 韩晓飞,等. 汶川地震桥梁震害特征分析及地震易损性研究[J]. 华北地震科学, 2019(1):9.
[3] 陈波. 基于地震动参数的房屋震害矩阵曲线化分析系统及方法:, 2018.
[4] 叶肇恒, 孟凡馨, 杨璐遥. 基于震害资料的四川省藏式房屋地震易损性研究[J]. 华南地震, 2019, 39(1):6.
[5] 林庆利. 基于汶川地震震害的公路桥梁易损性研究[J]. 国际地震动态, 2018, 478(10):47.
⛳️ 代码获取关注我
❤️部分理论引用网络文献,若有侵权联系博主删除
❤️ 关注我领取海量matlab电子书和数学建模资料