uminus.m

来自「三谱混合相位子波估计!! 这是我的一篇文章所涉及到的matlab 源代码」· M 代码 · 共 12 行

M
12
字号
function ds=uminus(ds)
% Function takes the unitary minus of the traces of a seismic dataset
% Written by: E. R.: August 18, 2005
% Last updated:

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

⌨️ 快捷键说明

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