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

📄 fkfilter.m

📁 这是matlab在地球物理数据处理方面的源码
💻 M
字号:
function [newtraces] = fkfilter(traces,mask)% function fkfilter - Applies an fkfilter operation% to a set of traces using a previously developed and % saved mask.  Note that the number of data points% are doubled in the Fourier domain due to padding.[m,n] = size(traces); tt = ones(m,1); temp = hanning(41); tt(1:21) = temp(1:21); tt(m-20:m) = temp(21:41);  [x,y] = meshgrid(hanning(n),tt);  tracemask = x.*y;traces = tracemask.*traces;  % smooth out some rough edges for ffting laternewtraces = zeros(2*m,2*n);  newtraces(m/2+1:3*m/2,n/2+1:3*n/2) = traces;% imagesc(newtraces); 	z = fft2(newtraces);  z = fftshift(z); z = mask.*z;  z = fftshift(z); newtraces = real(ifft2(z));  newtraces = newtraces(m/2+1:3*m/2,n/2+1:3*n/2);

⌨️ 快捷键说明

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