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

📄 add_curve_type.m

📁 基于Matlab的地震数据处理显示和测井数据显示于处理的小程序
💻 M
字号:
function wlog=add_curve_type(wlog,curvetype)% Function adds curve type info to a log structure if a field "curve_type" exists% If the the curve type has already been defined for the mnemonic, it is overwritten%% Written by: E. R.: June 4, 2004% Last updated:%%	      wlog=add_curve_type(wlog,curvetype)% INPUT% wlog        well log structure% curve type  three-element cell array with %             curve mnemonic, generic curve type, description%             e.g. {'aImp','Imp','impedance'}% OUTPUT% wlog        well log with updated field curve type (if it existed on input)global S4Mif ~isfield(wlog,'curve_types')   wlog.curve_types=curvetype;   returnendmnems=wlog.curve_types(:,1);if S4M.case_sensitive   index=find(ismember(mnems,curvetype{1}));else   index=find(ismember(lower(mnems),lower(curvetype{1})));endif isempty(index)   wlog.curve_types=[wlog.curve_types;curvetype];else   wlog.curve_types(index,:)=curvetype;end

⌨️ 快捷键说明

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