Fig 5.
Dari gambar diatas yang menunjukkan karakter AVO kelas 3 adalah yang ditandai oleh lingkaran
berwarna merah. AVO kelas 3 sendiri menunjukkan amplitude yang meningkat dengan bertambahnya
offset.
Top of
gas sand
Bottom
of gas
sand
set([S.ed1,S.sl1],'call',{@ed_call1,S});
set([S.ed2,S.sl2],'call',{@ed_call2,S});
set([S.ed3,S.sl3],'call',{@ed_call3,S});
set([S.ed4,S.sl4],'call',{@ed_call4,S});
set([S.ed5,S.sl5],'call',{@ed_call5,S});
set([S.ed6,S.sl6],'call',{@ed_call6,S});
function [] = ed_call1(varargin)
[h1,S] = varargin{[1,3]};
switch h1
case S.ed1
L1 = get(S.sl1,{'min','max','value'});
E1 = str2double(get(h1,'string'));
if E1 >= L1{1} && E1 <= L1{2} set(S.sl1,'value',E1)
else set(h1,'string',L1{3})
end
case S.sl1
set(S.ed1,'string',get(h1,'value'))
otherwise
end
alpha1 = get(S.sl1,('value'));
beta1 = get(S.sl2,('value'));
rho1 = get(S.sl3,('value'));
alpha2 = get(S.sl4,('value'));
beta2 = get(S.sl5,('value'));
rho2 = get(S.sl6,('value'));
tethap1=[0:40];
Rpp=avocal(alpha1,beta1,rho1,alpha2,beta2,rho2);
plot(tethap1,Rpp,'r','linewidth',2)
grid
xlabel('Angle')
ylabel('Amplitudo')
function [] = ed_call2(varargin)
[h2,S] = varargin{[1,3]};
switch h2
case S.ed2
L2 = get(S.sl2,{'min','max','value'});
E2 = str2double(get(h2,'string'));
if E2 >= L2{1} && E2 <= L2{2} set(S.sl2,'value',E2)
else set(h2,'string',L2{3})
end
case S.sl2
set(S.ed2,'string',get(h2,'value'))
otherwise
end
alpha1 = get(S.sl1,('value'));
beta1 = get(S.sl2,('value'));
rho1 = get(S.sl3,('value'));
alpha2 = get(S.sl4,('value'));
beta2 = get(S.sl5,('value'));
rho2 = get(S.sl6,('value'));
tethap1=[0:40];
Rpp=avocal(alpha1,beta1,rho1,alpha2,beta2,rho2);
plot(tethap1,Rpp,'r','linewidth',2)
grid
xlabel('Angle')
ylabel('Amplitudo')
function [] = ed_call3(varargin)
[h3,S] = varargin{[1,3]};
switch h3
case S.ed3
L3 = get(S.sl3,{'min','max','value'});
E3 = str2double(get(h2,'string'));
if E3 >= L3{1} && E3 <= L3{2} set(S.sl3,'value',E3)
else set(h3,'string',L3{3})
end
case S.sl3
set(S.ed3,'string',get(h3,'value'))
otherwise
end
alpha1 = get(S.sl1,('value'));
beta1 = get(S.sl2,('value'));
rho1 = get(S.sl3,('value'));
alpha2 = get(S.sl4,('value'));
beta2 = get(S.sl5,('value'));
rho2 = get(S.sl6,('value'));
tethap1=[0:40];
Rpp=avocal(alpha1,beta1,rho1,alpha2,beta2,rho2);
plot(tethap1,Rpp,'r','linewidth',2)
grid
xlabel('Angle')
ylabel('Amplitudo')
function [] = ed_call4(varargin)
[h4,S] = varargin{[1,3]};
switch h4
case S.ed4
L4 = get(S.sl4,{'min','max','value'});
E4 = str2double(get(h4,'string'));
if E4 >= L4{1} && E4 <= L4{2} set(S.sl4,'value',E4)
else set(h4,'string',L4{3})
end
case S.sl4
set(S.ed4,'string',get(h4,'value'))
otherwise
end
alpha1 = get(S.sl1,('value'));
beta1 = get(S.sl2,('value'));
rho1 = get(S.sl3,('value'));
alpha2 = get(S.sl4,('value'));
beta2 = get(S.sl5,('value'));
rho2 = get(S.sl6,('value'));
tethap1=[0:40];
Rpp=avocal(alpha1,beta1,rho1,alpha2,beta2,rho2); plot(tethap1,Rpp,'r','linewidth',2)
grid
xlabel('Angle')
ylabel('Amplitudo')
function [] = ed_call5(varargin)
[h5,S] = varargin{[1,3]};
switch h5
case S.ed5
L5 = get(S.sl5,{'min','max','value'});
E5 = str2double(get(h5,'string'));
if E5 >= L5{1} && E5 <= L5{2} set(S.sl5,'value',E5)
else set(h5,'string',L5{3})
end
case S.sl5
set(S.ed5,'string',get(h5,'value'))
otherwise
end
alpha1 = get(S.sl1,('value'));
beta1 = get(S.sl2,('value'));
rho1 = get(S.sl3,('value'));
alpha2 = get(S.sl4,('value'));
beta2 = get(S.sl5,('value'));
rho2 = get(S.sl6,('value'));
tethap1=[0:40];
Rpp=avocal(alpha1,beta1,rho1,alpha2,beta2,rho2);
plot(tethap1,Rpp,'r','linewidth',2)
grid
xlabel('Angle')
ylabel('Amplitudo')
function [] = ed_call6(varargin)
[h6,S] = varargin{[1,3]};
switch h6
case S.ed6
L6 = get(S.sl6,{'min','max','value'});
E6 = str2double(get(h6,'string'));
if E6 >= L6{1} && E6 <= L6{2} set(S.sl6,'value',E6)
else set(h6,'string',L6{3})
end
case S.sl6
set(S.ed6,'string',get(h6,'value'))
otherwise
end
alpha1 = get(S.sl1,('value'));
beta1 = get(S.sl2,('value'));
rho1 = get(S.sl3,('value'));
alpha2 = get(S.sl4,('value'));
beta2 = get(S.sl5,('value'));
rho2 = get(S.sl6,('value'));
tethap1=[0:40];
Rpp=avocal(alpha1,beta1,rho1,alpha2,beta2,rho2);
plot(tethap1,Rpp,'r','linewidth',2)
grid
xlabel('Angle')
ylabel('Amplitudo')
function Rpp= avocal(alpha1,beta1,rho1,alpha2,beta2,rho2)
tethap1=[0:40]; tethap2=180/pi*asin(((sin(tethap1*pi/180))./alpha1)*alpha2) ;
tethap=(tethap1+tethap2)./2; tethas1=180/pi*asin(((sin(tethap1*pi/180))./alpha1)*beta1) ;
tethas2=180/pi*asin(((sin(tethas1*pi/180))./beta1)*beta2) ;
tethas=(tethas1+tethas2)./2;
alpha_av=(alpha2+alpha1)/2;
beta_av=(beta2+beta1)/2;
alpha_d=alpha2-alpha1;
beta_d=beta2-beta1;
rho_av=(rho2+rho1)/2;
rho_d=rho2-rho1;
p=sin(tethap1*pi/180)/alpha1;
Rpp=0.5*(1-
(4*p.^2)*beta_av^2)*rho_d/rho_av+(1./(2*(cos(tethap*pi/180)).^2))*(alpha_d/alpha_av)-
(4*p.^2)*(beta_av^2)*(beta_d/beta_av);