⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 forward_radon.m

📁 matlab拉冬变换程序
💻 M
字号:
function [d]=forward_radon(m,dt,h,p,N,flow,fhigh);%FOR_RADON: Forward linear and parabolic Radon transform. %  Given a Radon panel (tau-p), this function  maps %  the tau-p gather into time-offset space (data).%%  [d] = forward_taup(m,dt,h,p,N,flow,fhigh);%%  IN   m:     the Radon panel, a matrix m(nt,np)%       dt:    sampling in sec%       h(nh): offset or position of traces in mts%       p(np): ray parameter  to retrieve if N=1%              curvature of the parabola if N=2%       N:     N=1 linear tau-p%              N=2 parabolic tau-p%       flow:  min freq. in Hz%       fhig:  max freq. in Hz%%  OUT  d:     data%%%  Author(s): M.D.Sacchi (sacchi@phys.ualberta.ca)%  Copyright 1988-2003 SeismicLab%  Revision: 1.2  Date: Dec/2002 %  %  Signal Analysis and Imaging Group (SAIG)%  Department of Physics, UofA%[nt,nq] = size(m);     nh = length(h); if N==2; h=(h/max(abs(h))).^2; end;    nfft = 2*(2^nextpow2(nt)); M = fft(m,nfft,1); D = zeros(nfft,nh); i = sqrt(-1); ilow  = floor(flow*dt*nfft)+1;  if ilow < 1; ilow=1; end; ihigh = floor(fhigh*dt*nfft)+1; if ihigh > floor(nfft/2)+1; ihigh = floor(nfft/2)+1; end  for ifreq=ilow:ihigh  f = 2.*pi*(ifreq-1)/nfft/dt;  L = exp(i*f*h'*p);  x = M(ifreq,:)';  y = L * x;   D(ifreq,:) = y';  D(nfft+2-ifreq,:) = conj(y)'; end D(nfft/2+1,:) = zeros(1,nh); d = real(ifft(D,[],1)); d = d(1:nt,:);return;

⌨️ 快捷键说明

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