⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 demoproc3.m,v

📁 具有特色的地震数据处理源码
💻 M,V
字号:
head	3.0;access;symbols;locks; strict;comment	@// @;3.0date	2000.06.13.19.18.54;	author gilles;	state Exp;branches;next	2.2;2.2date	99.06.18.15.53.40;	author mah;	state Exp;branches;next	2.1;2.1date	99.05.28.13.29.47;	author mah;	state Exp;branches;next	2.0;2.0date	99.05.21.18.43.28;	author mah;	state Exp;branches;next	1.1;1.1date	99.05.21.18.19.18;	author mah;	state Exp;branches;next	;desc@@3.0log@Release 3@text@%Called by demo2 to perform median filtering%energy balance the datademodata=ener(demodata,0,1)%pad it with about a second of zeros at the enddemodata=pad(demodata,0.5); %flatten the data on first breaksdemodata=flat2(demodata,0.25,15); %median filter the dataout2=medi_filt(demodata,13) demodata=subr(out2,demodata) %subtract the median filtered data from the original data demodata=unflat2(demodata,0.25,15); %unflatten the datatemp=demodata.th{1}(15,:);temp=temp+0.005;demodata.th{1}(16,:)=temp; %demodata=mute(demodata,1,16); %mute out the first 5ms after the first breaks %demodata=tred(demodata,-3732,0.25); %flatten on the shear wave%out2=medi_filt(demodata,23)%demodata=subr(out2,demodata); %remove the shear wave%demodata=tred(demodata,3732,-0.25); %unflatten from the shear wave%demodata=mute(demodata,1,16); %remute out the first 5ms after the first breaks demodata=subset(demodata,1,103,0,1,1,1);clear out2;clear temp;state=3;disp('Median filtering has been applied.');disp('Please apply f-k Filtering next.');@2.2log@for different data set@text@@2.1log@updated program for smaller set of data@text@d3 3d7 1a7 1demodata=pad(demodata,1.0);d9 2a10 2%flatten the data on first breaks to get rid of down going energydemodata=flat2(demodata,0.05,15);d17 1a17 1demodata=unflat2(demodata,0.05,15); %unflatten the dataa20 2demodata.th{2}(16,:)=temp;demodata.th{3}(16,:)=temp;d22 1a22 1demodata=mute(demodata,1,16); %mute out the first 5ms after the first breaksd24 4a27 4demodata=tred(demodata,-3732,0.25); %flatten on the shear waveout2=medi_filt(demodata,23)demodata=subr(out2,demodata); %remove the shear wavedemodata=tred(demodata,3732,-0.25); %unflatten from the shear waved29 1a29 1demodata=mute(demodata,1,16); %remute out the first 5ms after the first breaksd31 1a31 1demodata=subset(demodata,1,164,0,0.6,1,1);@2.0log@Release 2@text@d30 1a30 1demodata=subset(demodata,1,364,0,0.6,1,1);d38 1@1.1log@Initial revision@text@@

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -