Professional Documents
Culture Documents
SEISMIK
FILTERING-
BANDPASS
clc
clear all
t=-1:0.004:1 ;
f=0:100;
af1=10;
af2=30;
af3=60;
af4=90;
af=zeros(size(f));
af(find(f==af1):find(f==af2))=linspace (0,1,(find(f==af2)-
find(f==af1)+1));
af(find(f==af3):find(f==af4))=fliplr(linspace(0,1,(find(f==af4
)-find(f==af3)+1)));
af(find(f==af2):find(f==af3))=1;
for i=1:length(f);
for j =1:length(t);
x(j,i)= cos(2*pi*t(j)*f(i));
end
end
d=sum(x');
Eksplorasi Seismik
subplot(3,2,1)
plot(d,t); %Frequency range of filter
subplot(3,2,2)
imagesc(f,t,x);colormap gray; %Superposition 2 wave
subplot(3,2,3)
plot(x(:,4),t);%Konvolusi
subplot(3,2,4)
plot(f,af) %filter graph
t=-1:0.004:1 ;
f=0:100;
af1=10;
af2=30;
af3=60;
af4=90;
af=zeros(size(f));
af(find(f==af1):find(f==af2))=linspace (0,1,(find(f==af2)-
find(f==af1)+1));
af(find(f==af3):find(f==af4))=fliplr(linspace(0,1,(find(f==af4
)-find(f==af3)+1)));
af(find(f==af2):find(f==af3))=1;
Eksplorasi Seismik
for i=1:length(f);
for j =1:length(t);
x(j,i)= af(i)*cos(2*pi*t(j)*f(i));
end
end
d=sum(x');
subplot(3,2,1)
plot(d,t); %Frequency range of filter
subplot(3,2,2)
imagesc(f,t,x);colormap gray; %Superposition 2 wave
subplot(3,2,3)
plot(x(:,4),t);%Konvolusi
subplot(3,2,4)
plot(f,af) %filter graph
Maka gambar sinyal yang dihasilkan adalah: