Documentos de Académico
Documentos de Profesional
Documentos de Cultura
I.
INTRODUCCION
II.
METODOLOGA
end
end
if ccode2(i-1)==6
if ccode2(i-2)>=3 &&
ccode2(i-2)<=6
GI=GI+contestb2(i1,1);disp('2A')%2
end
end
case 1
if ccode2(i-1)>=1 &&
ccode2(i-1)<=4
GI=GI+contestb2(i1,1)+1;disp('3A')%1
end
case 7
if ccode2(i-1)==2
if ccode2(i-2)>=2 &&
ccode2(i-2)<=4
GI=GI+contestb2(i1,1)+1;disp('4A')%1
end
end
if ccode2(i-1)==6
if ccode2(i-2)>=4 &&
ccode2(i-2)<=6
GI=GI-contestb2(i1,1)-1;disp('5B')%1
end
end
if (ccode2(i-1)>=5 &&
ccode2(i-1)<=7)|| ccode2(i-1)==0
GI=GI-contestb2(i1,1);disp('6B')%2
end
end
end
else
if D2(i-2,2)~=0
xflag=D2(i-2,2);
end
if (xflag==1 && D2(i-1,1)>0)
GI=GI+1;disp('1C')
elseif (xflag==-1 && D2(i-1,1)<0)
GI=GI+1;disp('2C')
end
end
[GI, xflag]
end
GB=length(ccode)
GIp=GI-GB
area=GIp+0.5*GB-1;
GI=GI+contestb2(i1,1);disp('5A')%2
end
end
if ccode2(i-2)>=4 &&
ccode2(i-2)<=5
GI=GI+contestb2(i1,1);disp('6A')%2
end
end
end
elseif D2(i-1,2)<0 %Dx
GI=GI-contestb2(i,1);disp('B') %Y(i+1)
if xflag==1
switch ccode2(i)
case 4
if ccode2(i-1)==2
if (ccode2(i-2)>=0 &&
ccode2(i-2)<=2) || ccode2(i-2)==7
GI=GI-contestb2(i1,1)-1;disp('1B')%1
end
end
if ccode2(i-1)==6
if (ccode2(i-2)>=0 &&
ccode2(i-2)<=1) || (ccode2(i-2)>=6 && ccode2(i2)<=7)
GI=GI-contestb2(i1,1);disp('2B')%2
end
end
case 3
if ccode2(i-1)>=0 &&
ccode2(i-1)<=3
GI=GI-contestb2(i-1,1)1;disp('3B')%1
end
if ccode2(i-1)==6
if (ccode2(i-2)>=6 &&
ccode2(i-2)<=7)|| ccode2(i-2)==0
GI=GI-contestb2(i1,1);disp('4B')%2
end
end
case 5
if ccode2(i-1)==2
if ccode2(i-2)>=0 &&
ccode2(i-2)<=2
III.
RESULTADOS
2.5
1.5
0.5
0
1
1.5
2.5
3.5
4.5
GI=(13)-(11)=2
Dx
Dy
GI
-1
-1
-1
10
-1
13
16
-1
16
-1
13
-1
-1
12
-1
13
-1
13
(2)
CONCLUSIONES