Lampiran 1. Fungsi Jarak Function Jarak (x1, x2, Y1, Y2)
Lampiran 1. Fungsi Jarak Function Jarak (x1, x2, Y1, Y2)
End Function
y2 = Cells(5 + i, 2) * 111322
Cells(4, 4) = 0
Wend
End Sub
= Cells(5 + i, 4)
Cells(4, 5) = 0
End Sub
= Cells(6 + i, 4) Cells(4, 6) = 0
Cells(5, 6) = 0
Wend
End Sub
s1 = Cells(7 + i, 4) Cells(4, 7) = 0
Cells(5, 7) = 0
Cells(6, 7) = 0
Cells(7 + i, 7) = Round(((z2 - z1) / s1), 9) i = i + 1
Wend
End Sub
d=load('FOS.txt');
%e=xlsread('gradient.xls'); %g=e(:,3);
plot3(x,y,fos)