s_roots2wavelet.m

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

M
20
字号
function wavelet=s_roots2wavelet(zroots,first,step,maxamp)
% Compute wavelet from the zeros of its z-transform
% Written by: E. R.: June 13, 2004
% Last updated:
%
%          wavelet=s_roots2wavelet(zroots,first,step)
% INPUT
% zroots   roots of the z-transform
% first    time of first sample
% step     sample interval
% maxamp   maximum amplitude of resulting wavelet
% OUTPUT
% wavelet  one-trace seismic structure

temp=real(poly(zroots));
temp=temp*(maxamp/max(temp));
wavelet=s_convert(flipud(temp(:)),first,step);
wavelet.tag='wavelet';

⌨️ 快捷键说明

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