fx_eigen.m
来自「著名的seismiclab的代码 是地震学研究人员必备的工具」· M 代码 · 共 35 行
M
35 行
function [m] = fx_eigen(d,p,flow,fhigh,dt,mu);%% Eigenfiltering %[nt,nh]=size(d);nf = 2^nextpow2(nt);D = fft(d,nf,1);M = zeros(nf,nh);i = sqrt(-1);ilow = floor(flow*dt*nf)+1; if ilow<1; ilow=1;end;ihigh = floor(fhigh*dt*nf)+1;if ihigh>floor(nf/2)+1; ihigh=floor(nf/2)+1;endfor k=ilow:ihighy = D(k,:)';[s,w,g] = eigen_filtering(y,p,mu);M(k,:) = s';end;for k=nf/2+2:nf;M(k,:) = conj(M(nf-k+2,:));endm = real(ifft(M,[],1));m = m(1:nt,:); return
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?