s_synthetic4landmark.m

来自「基于Matlab的地震数据处理显示和测井数据显示于处理的小程序」· M 代码 · 共 32 行

M
32
字号
function s_synthetic4landmark(synthetic,filename)% Function writes one-trace synthetic to ASCII file in Landmark format.% Written by: E. R.% Last updated%           s_synthetic4landmark(synthetic,filename)% INPUT% synthetic synthetic in form of a seismic structure% filename  filename (optional)%           Default: PROGRAM_lmg_synthetic.txt where PROGRAM is the %           name of the script which created itif nargin == 1   filename='';end[nsamp,ntr]=size(synthetic.traces);if ntr > 1   error(' Synthetic has more than one trace')end text={'ASCII synthetic';     ['Number of samples: ',num2str(nsamp)];      ['First sample: ',num2str(synthetic.first),' ms'];     ['Last sample: ',num2str(synthetic.last),' ms'];     ['Sample interval: ',num2str(synthetic.step),' ms']};wr_columns(filename,synthetic.traces,text)

⌨️ 快捷键说明

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