power.m

来自「地震、测井方面matlab代码,解释的比较详细」· M 代码 · 共 12 行

M
12
字号
function ds=power(ds,a)
% Function takes the power of the traces of a seismic dataset
% Written by: E. R.: September 11, 2005
% Last updated:

if isstruct(ds)  &  strcmp(ds.type,'seismic')  &  isnumeric(a)
   ds.traces=ds.traces.^a;
else
   error('Operator ".^" is not defined for these arguments.')
end

⌨️ 快捷键说明

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