• 大小: 2KB
    文件类型: .m
    金币: 1
    下载: 0 次
    发布日期: 2021-01-10
  • 语言: Matlab
  • 标签: matlab  

资源简介

最基础的微地震正演模型,适合初学者,深度 纵波速度 横波速度 密度 0 1500 866.0508083 2.8 500 1600 923.7875289 800 1750 1010.39261 2.85 950 1800 1039.26097 2.9 1400 1900 1096.997691 2.95 1780 2010 1160.508083 3 2100 2500 1443.418014 3.05 2300 2600 1501.154734 3.1 2600 3000 1732.101617 3.15

资源截图

代码片段和文件信息

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clc;clear all;close all;
v=xlsread(‘v.xlsx‘‘v-p‘‘A3:C20‘);%分层速度,包括横波与纵波
p=xlsread(‘v.xlsx‘‘v-p‘‘D3:D20‘);%分层密度表示该深度至下一深度之间的密度
X0=xlsread(‘v.xlsx‘‘炮检点‘‘A4:C4‘);
X1=xlsread(‘v.xlsx‘‘炮检点‘‘G3:I41‘);%D3:F43

[n_sensorser]=size(X1);
[n_sourcescr]=size(X0);

%n0=550;%格林函数及震源时间函数采样点数;
nm=100;%循环次数!




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%      画图        %%%%%%%%%%%%%%%%%%%%%%%%%%%%
 [nnx0nny0]=size(v);


xxx=[X0(:1);X1(:1)];
yyy=[X0(:2);X1(:2)];
zzz=[X0(:3);X1(:3);v(:1)];


x0max=max(xxx);
y0max=max(yyy);
z0max=max(zzz);
x0m

评论

共有 条评论