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

📄 l_extend.m

📁 基于Matlab的地震数据处理显示和测井数据显示于处理的小程序
💻 M
字号:
function wlog=l_extend(wlog,from,to)% Function extends the depth range of a log structure by % appending/prepending null values% Written by: E. R.: October 4, 2002% Last updated:%%      	 wlog=l_extend(wlog,from,to)% INPUT% wlog   log structure% from   starting depth% to     final depth% OUTPUT% wlog   extended logwlog=l_select(wlog,{'depths',from,to});step=wlog.step;if wlog.first > from & wlog.last < to   wlog.first=from;   wlog.last=to;   wlog.curves=[wlog.null*ones(1,size(wlog.curves,2));wlog.curves; ...               wlog.null*ones(1,size(wlog.curves,2))];else   if wlog.first > from      wlog.first=from;      wlog.step=0;      wlog.curves=[wlog.null*ones(1,size(wlog.curves,2));wlog.curves];   end   if wlog.last < to      wlog.last=to;      wlog.step=0;      wlog.curves=[wlog.curves;wlog.null*ones(1,size(wlog.curves,2))];   endendif step > 0   wlog=l_resample(wlog,step);end

⌨️ 快捷键说明

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