BAB V KESIMPULAN DAN SARAN
5.2 Saran
Dari hasil pembahasan yang diperoleh, tampilan program pembelajaran trafik masih perlu disempurnakan dengan menambahkan beberapa ilustrasi mengenai proses pada jaringan telekomunikasi sehingga pengguna bisa mendapatkan gambaran yang lebih jelas dan tampilan program akan menjadi lebih menarik.
.
DAFTAR PUSTAKA
[1] Usman Kurniawan, Uke (2008) Pengantar Ilmu Telekomunikasi. Bandung: Penerbit Informatika. Hal. 180.
[2] Budiyono, Eko (2006) Analisis Trafik Pada Sistem Telekomunikasi Selular Berbasis CDMA 2000 1X Di Wilayah Semarang Kota. Fakultas Teknik Universitas Negeri Semarang.
[3] Cahyono, Dwi (2010) Analisis Trafik Untuk Kualitas Performansi Jaringan Berbasis Teknologi GSM Di P.T Excelcomindo Pratama Semarang. Fakultas Teknik Universitas Gadjah Mada.
[4]
http://file.upi.edu/Direktori/E%20- %20FPTK/JUR.%20PEND.%20TEKNIK%20ELEKTRO/196406071995122%20-%20ARJUNI%20BUDI%20PANTJAWATI/EK%20462%20Sistem%20Komunika si%20Digital/MODUL%20DASAR%20TELEKOMUNIKASI.pdf, diakses tanggal 15 februari 2010.
[5] Flood, J. E (1994) Telecommunication Switching, Traffic and Networks, Prentice Hall,.
[6] Paulus, Erick dan Nataliani, Yessica (2007) cepat mahir GUI Matlab, Penerbit Andi.
[7] http://www.mathworks.com, diakses tanggal 3 april 2011.
Tabel 4.5. Tabel perhitungan nilai grade of service
No MASUKAN KELUARAN
Jumlah Panggilan Holding Time Jumlah Trunk Intensitas Trafik Grade of Service
1. 10 1 1 0.16667 0.14286 2. 9 1 2 0.15 0.009687 3. 21 1 3 0.35 0.005038 4. 27 1 4 0.45 0.001089 5. 34 3 5 1.7 0.02179 6. 38 3 6 2 0.012085 7. 44 3 7 2.2 0.005494 8. 42 3 8 2.1 0.001149 9. 52 5 9 4.3333 0.019752 10. 54 5 10 4.5 0.010494 11. 56 5 11 4.6667 0.005402 12. 51 5 12 4.25 0.001034 13. 45 10 13 7.5 0.03421 14. 45 10 14 7.5 0.011421 15. 45 10 15 7.5 0.005678 16. 41 10 16 6.8333 0.001164 17. 43 15 17 10.75 0.021181 18. 42 15 18 10.5 0.010471 19. 42 15 19 10.5 0.005753 20. 38 15 20 9.5 0.001103 21. 890 1 21 14.8333 0.029318 22. 822 1 22 13.7 0.010306 23. 804 1 23 13.4 0.004941 24. 732 1 24 12.2 0.000959 25. 350 3 25 17.5 0.019958 26. 338 3 26 16.9 0.009684 27. 332 3 27 16.6 0.005006 28. 304 3 28 15.2 0.001015 29. 254 5 29 21.1667 0.021031 30. 245 5 30 20.4167 0.01039 31. 238 5 31 19.8333 0.004941
Tabel 4.5. (Lanjutan)Tabel perhitungan nilai grade of service
No MASUKAN KELUARAN
Jumlah Panggilan Holding Time Jumlah Trunk Intensitas Trafik Grade of Service
32. 219 5 32 18.25 0.001034 33. 149 10 33 24.8333 0.021531 34. 143 10 34 23.8333 0.010273 35. 139 10 35 23.1667 0.004992 36. 128 10 36 21.3333 0.001026 37. 114 15 37 28.5 0.02 38. 110 15 38 27.5 0.011037 39. 106 15 39 26.5 0.004919 40. 98 15 40 24.5 0.001036 41. 1920 1 41 32 0.020517 42. 1848 1 42 30.8 0.010109 43. 1794 1 43 29.9 0.004912 44. 1667 1 44 27.7833 0.001087 45. 712 3 45 35.6 0.019961 46. 686 3 46 34.3 0.009922 47. 666 3 47 33.3 0.004835 48. 618 3 48 30.9 0.001011 49. 473 5 49 39.4167 0.020504 50. 455 5 50 37.9167 0.01005 51. 442 5 51 36.8333 0.004963 52. 411 5 52 34.25 0.001051 53. 259 10 53 43.1667 0.02054 54. 249 10 54 41.5 0.009984 55. 242 10 55 40.3333 0.004968 56. 225 10 56 37.5 0.001020 57. 188 15 57 47 0.020886 58. 181 15 58 45.25 0.010359 59. 176 15 59 44 0.005226 60. 164 15 60 41 0.001100 61. 3036 1 61 50.6 0.020051 62. 2928 1 62 48.8 0.010073 63. 2844 1 63 47.4 0.004973
Tabel 4.5. (Lanjutan)Tabel perhitungan nilai grade of service
No MASUKAN KELUARAN
Jumlah Panggilan Holding Time Jumlah Trunk Intensitas Trafik Grade of Service
64. 2646 1 64 44.1 0.000975 65. 1088 3 65 54.4 0.020103 66. 1048 3 66 52.4 0.009905 67. 1020 3 67 51 0.005034 68. 950 3 68 47.5 0.000983 69. 699 5 69 58.25 0.020302 70. 672 5 70 56 0.009714 71. 656 5 71 54.6667 0.005168 72. 611 5 72 50.9167 0.000988 73. 372 10 73 62 0.02004 74. 359 10 74 59.8333 0.010076 75. 350 10 75 58.3333 0.005270 76. 326 10 76 54.3333 0.000986 77. 264 15 77 66 0.020716 78. 267 15 78 66.75 0.01992 79. 248 15 79 62 0.005345 80. 232 15 80 58 0.001075 81. 4176 1 81 69.6 0.019827 82. 4230 1 82 70.5 0.019613 83. 3924 1 83 65.4 0.005019 84. 3678 1 84 61.3 0.001011 85. 1468 3 85 73.4 0.019682 86. 1488 3 86 74.4 0.019817 87. 1380 3 87 69 0.004971 88. 1296 3 88 64.8 0.001021 89. 927 5 89 77.25 0.019688 90. 939 5 90 78.25 0.019811 91. 873 5 91 72.75 0.005106 92. 820 5 92 68.3333 0.001037 93. 486 10 93 81 0.019342 94. 492 10 94 82 0.019457 95. 458 10 95 76.3333 0.005010
Tabel 4.5. (Lanjutan)Tabel perhitungan nilai grade of service
No MASUKAN KELUARAN
Jumlah Panggilan Holding Time Jumlah Trunk Intensitas Trafik Grade of Service
96. 431 10 96 71.8333 0.001035
97. 340 15 97 85 0.019784
98. 343 15 98 85.75 0.019105
99. 320 15 99 80 0.00501
LISTING PROGRAM PEMBELAJARAN TRAFIK
function varargout = traffic(varargin)
% TRAFFIC M-file for traffic.fig
% TRAFFIC, by itself, creates a new TRAFFIC or raises the existing % singleton*.
%
% H = TRAFFIC returns the handle to a new TRAFFIC or the handle to % the existing singleton*.
%
% TRAFFIC('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in TRAFFIC.M with the given input
arguments. %
% TRAFFIC('Property','Value',...) creates a new TRAFFIC or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before traffic_OpeningFcn gets called. An % unrecognized property name or invalid value makes property application
% stop. All inputs are passed to traffic_OpeningFcn via varargin. %
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)". %
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help traffic % Last Modified by GUIDE v2.5 25-Jun-2011 22:34:34
% Begin initialization code - DO NOT EDIT
gui_Singleton = 0;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @traffic_OpeningFcn, ...
'gui_OutputFcn', @traffic_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before traffic is made visible.
function traffic_OpeningFcn(hObject, eventdata, handles, varargin)
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % varargin command line arguments to traffic (see VARARGIN) % memuat gambar background kedalam GUI matlab
backgroundImage = importdata('gambar13.jpg');
% memilih axes
axes(handles.axes1);
% menempatkan gambar pada axes
image(backgroundImage);
% menghapus axes
axis off
% Choose default command line output for traffic
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes traffic wait for user response (see UIRESUME) % uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = traffic_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT); % hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Get default command line output from handles structure
varargout{1} = handles.output;
function edit1_Callback(hObject, eventdata, handles)
% hObject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit1 as text
% str2double(get(hObject,'String')) returns contents of edit1 as a double
% --- Executes during object creation, after setting all properties.
function edit1_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes when selected object is changed in uipanel1.
function uipanel1_SelectionChangeFcn(hObject, eventdata, handles)
% eventdata structure with the following fields (see UIBUTTONGROUP) % EventName: string 'SelectionChanged' (read only)
% OldValue: handle of the previously selected object or empty if none was selected
% NewValue: handle of the currently selected object
% handles structure with handles and user data (see GUIDATA) %retrieve GUI data, i.e. the handles structure
%updates the handles structure
guidata(hObject, handles);
switch get(eventdata.NewValue,'Tag') % Get Tag of selected object.
case 'radiobutton1'
set(handles.edit1,'Enable','on'); set(handles.edit2,'Enable','on'); set(handles.edit3,'Enable','off'); set(handles.popupmenu1,'Enable','on'); set(handles.edit10,'Enable','off'); set(handles.edit11,'Enable','off'); set(handles.edit12,'Enable','off'); case 'radiobutton2'
set(handles.edit1,'Enable','on'); set(handles.edit2,'Enable','on'); set(handles.edit3,'Enable','on');
set(handles.popupmenu1,'Enable','off'); set(handles.edit10,'Enable','off'); set(handles.edit11,'Enable','off'); set(handles.edit12,'Enable','off'); otherwise
% Code for when there is no match.
end
function edit2_Callback(hObject, eventdata, handles)
% hObject handle to edit2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit2 as text
% str2double(get(hObject,'String')) returns contents of edit2 as a double
% --- Executes during object creation, after setting all properties.
function edit2_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
function edit3_Callback(hObject, eventdata, handles)
% hObject handle to edit3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit3 as text
% str2double(get(hObject,'String')) returns contents of edit3 as a double
% --- Executes during object creation, after setting all properties.
function edit3_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in popupmenu1.
function popupmenu1_Callback(hObject, eventdata, handles)
% hObject handle to popupmenu1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Proceed with callback...
% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
% contents{get(hObject,'Value')} returns selected item from popupmenu1
% --- Executes during object creation, after setting all properties.
function popupmenu1_CreateFcn(hObject, eventdata, handles)
% hObject handle to popupmenu1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit5_Callback(hObject, eventdata, handles)
% hObject handle to edit5 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of edit5 as text
% str2double(get(hObject,'String')) returns contents of edit5 as a double
% --- Executes during object creation, after setting all properties.
function edit5_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit5 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit6_Callback(hObject, eventdata, handles)
% hObject handle to edit6 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit6 as text
% str2double(get(hObject,'String')) returns contents of edit6 as a double
% --- Executes during object creation, after setting all properties.
function edit6_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit6 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
proyek=guidata(gcbo);
c=str2double(get(proyek.edit1,'String')); h=str2double(get(proyek.edit2,'String'));
T=60;
HitA=(c*h)/T;
switch get(handles.popupmenu1,'Enable') % Get Enables of selected popupmenu1.
case 'on'
switch get(handles.popupmenu1,'Value') case 1
B=0.02; if HitA>87.6
msgbox('Nilai Intensitas trafik harus kurang dari atau sama dengan 87.6. silahkan memasukkan kembali nilai jumlah panggilan dan holding time yang lain','Perhatian','warn')
return;
closeGUI = handles.figure1; %handles.figure1 is the GUI figure
guiPosition = get(handles.figure1,'Position'); %get the position of the GUI
guiName = get(handles.figure1,'Name'); %get the name of the GUI
eval(guiName) %call the GUI again
close(closeGUI); %close the old GUI
set(gcf,'Position',guiPosition); %set the position for the new GUI
else end case 2 B=0.01; if HitA>84.0
msgbox('Nilai Intensitas trafik untuk grade of service 0.01 harus kurang dari atau sama dengan 84.0. silahkan memasukkan kembali nilai grade of service yang lain yaitu 0.02','Perhatian','warn') return;
closeGUI = handles.figure1; %handles.figure1 is the GUI figure
guiPosition = get(handles.figure1,'Position'); %get the position of the GUI
guiName = get(handles.figure1,'Name'); %get the name of the GUI
eval(guiName) %call the GUI again
close(closeGUI); %close the old GUI
set(gcf,'Position',guiPosition); %set the position for the new GUI
else end case 3 B=0.005; if HitA>80.9
msgbox('Nilai Intensitas trafik untuk grade of service 0.005 harus kurang dari atau sama dengan 80.9. silahkan memasukkan kembali nilai grade of service yang lain yaitu 0.02 atau0.01','Perhatian','warn') return;
closeGUI = handles.figure1; %handles.figure1 is the GUI figure
guiPosition = get(handles.figure1,'Position'); %get the position of the GUI
guiName = get(handles.figure1,'Name'); %get the name of the GUI
eval(guiName) %call the GUI again
close(closeGUI); %close the old GUI
else end case 4 B=0.001; if HitA>75.3
msgbox('Nilai Intensitas trafik untuk grade of service 0.001 harus kurang dari atau sama dengan 75.3. silahkan memasukkan kembali nilai grade of service yang lain yaitu 0.02, 0.01, atau
0.005','Perhatian','warn') return;
closeGUI = handles.figure1; %handles.figure1 is the GUI figure
guiPosition = get(handles.figure1,'Position'); %get the position of the GUI
guiName = get(handles.figure1,'Name'); %get the name of the GUI
eval(guiName) %call the GUI again
close(closeGUI); %close the old GUI
set(gcf,'Position',guiPosition); %set the position for the new GUI
else
end
otherwise
end
A = importdata('C:\Documents and Settings\user\My Documents\MATLAB\tabel.txt','\t'); switch B case 0.02 i=0; beda=0; while beda <= 0 i=i+1; beda=A(i,1)-HitA; if beda>0 break, end
end N=i-1; case 0.01 i=0; beda=0; while beda <= 0 i=i+1; beda=A(i,2)-HitA; if beda>0 break, end
end N=i-1; case 0.005 i=0; beda=0; while beda <= 0 i=i+1; beda=A(i,3)-HitA; if beda>0 break, end
end N=i-1; case 0.001 i=0; beda=0; while beda <= 0 i=i+1;
beda=A(i,4)-HitA; if beda>0 break, end
end
N=i-1; otherwise
end
set(handles.edit10,'Enable','on'); set(handles.edit11,'Enable','on'); set(handles.edit12,'Enable','on');
set(handles.edit10,'String',num2str(HitA)); set(handles.edit11,'String',num2str(N)); set(handles.edit12,'String',num2str(B)); case 'off' N=str2double(get(proyek.edit3,'String')); numer=HitA^(N-1)/factorial(N-1); denom=0; for i=0:(N-1) denom=denom+HitA^i/factorial(i); B1=numer/denom; B=(HitA*B1)/(N+(HitA*B1)); end if N>100;
closeGUI = handles.figure1; %handles.figure1 is the GUI figure
guiPosition = get(handles.figure1,'Position'); %get the position of the GUI
guiName = get(handles.figure1,'Name'); %get the name of the GUI
eval(guiName) %call the GUI again
close(closeGUI); %close the old GUI
set(gcf,'Position',guiPosition); %set the position for the new GUI
msgbox('Jumlah trunk harus kurang dari atau sama dengan 100, silahkan masukkan kembali nilai jumlah trunk yang
lain','Perhatian','warn') return;
else
set(handles.edit10,'Enable','on'); set(handles.edit11,'Enable','on'); set(handles.edit12,'Enable','on');
set(handles.edit10,'String',num2str(HitA)); set(handles.edit11,'String',num2str(N)); set(handles.edit12,'String',num2str(B));
end end
% --- Executes on button press in pushbutton2.
function pushbutton2_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
closeGUI = handles.figure1; %handles.figure1 is the GUI figure
guiPosition = get(handles.figure1,'Position'); %get the position of the GUI
eval(guiName) %call the GUI again
close(closeGUI); %close the old GUI
set(gcf,'Position',guiPosition); %set the position for the new GUI % --- Executes on button press in pushbutton3.
function pushbutton3_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
close;
function edit8_Callback(hObject, eventdata, handles)
% hObject handle to edit8 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit8 as text
% str2double(get(hObject,'String')) returns contents of edit8 as a double
% --- Executes during object creation, after setting all properties.
function edit8_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit8 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit9_Callback(hObject, eventdata, handles)
% hObject handle to edit9 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit9 as text
% str2double(get(hObject,'String')) returns contents of edit9 as a double
% --- Executes during object creation, after setting all properties.
function edit9_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit9 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes during object creation, after setting all properties.
function uipanel1_CreateFcn(hObject, eventdata, handles)
% hObject handle to uipanel1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
function edit10_Callback(hObject, eventdata, handles)
% hObject handle to edit10 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit10 as text
% str2double(get(hObject,'String')) returns contents of edit10 as a double
% --- Executes during object creation, after setting all properties.
function edit10_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit10 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit11_Callback(hObject, eventdata, handles)
% hObject handle to edit11 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit11 as text
% str2double(get(hObject,'String')) returns contents of edit11 as a double
% --- Executes during object creation, after setting all properties.
function edit11_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit11 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit12_Callback(hObject, eventdata, handles)
% hObject handle to edit12 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit12 as text
% str2double(get(hObject,'String')) returns contents of edit12 as a double
% --- Executes during object creation, after setting all properties.
function edit12_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit12 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
%
---function Untitled_1_Callback(hObject, eventdata, handles)
% hObject handle to Untitled_1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
%
---function Untitled_2_Callback(hObject, eventdata, handles)
% hObject handle to Untitled_2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
Cara_Menggunakan;
%
---function Untitled_3_Callback(hObject, eventdata, handles)
% hObject handle to Untitled_3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
LISTING PROGRAM SPLASH FORM
function varargout = copyrightfin(varargin)
% COPYRIGHTFIN M-file for copyrightfin.fig
% COPYRIGHTFIN, by itself, creates a new COPYRIGHTFIN or raises the existing
% singleton*. %
% H = COPYRIGHTFIN returns the handle to a new COPYRIGHTFIN or the handle to
% the existing singleton*. %
% COPYRIGHTFIN('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in COPYRIGHTFIN.M with the given input arguments.
%
% COPYRIGHTFIN('Property','Value',...) creates a new COPYRIGHTFIN or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before copyrightfin_OpeningFcn gets called. An % unrecognized property name or invalid value makes property
application
% stop. All inputs are passed to copyrightfin_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)". %
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help copyrightfin % Last Modified by GUIDE v2.5 19-Apr-2011 19:02:17
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @copyrightfin_OpeningFcn, ...
'gui_OutputFcn', @copyrightfin_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% --- Executes just before copyrightfin is made visible.
function copyrightfin_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn. % hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % varargin command line arguments to copyrightfin (see VARARGIN)
backgroundImage = importdata('gambar6.jpg'); axes(handles.axes1);
image(backgroundImage); axis off
% Choose default command line output for copyrightfin
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes copyrightfin wait for user response (see UIRESUME) % uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = copyrightfin_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT); % hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Get default command line output from handles structure
varargout{1} = handles.output; function traffik() copyrightfin; pause(4) close(copyrightfin) traffic; end
LISTING PROGRAM MENU BAR
1.
CARA PENGGUNAAN
function varargout = Cara_Menggunakan(varargin)
% CARA_MENGGUNAKAN M-file for Cara_Menggunakan.fig
% CARA_MENGGUNAKAN, by itself, creates a new CARA_MENGGUNAKAN or raises the existing
% singleton*. %
% H = CARA_MENGGUNAKAN returns the handle to a new CARA_MENGGUNAKAN or the handle to
% the existing singleton*. %
% CARA_MENGGUNAKAN('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in CARA_MENGGUNAKAN.M with the given input arguments.
%
% CARA_MENGGUNAKAN('Property','Value',...) creates a new CARA_MENGGUNAKAN or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before Cara_Menggunakan_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to Cara_Menggunakan_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)". %
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help Cara_Menggunakan % Last Modified by GUIDE v2.5 25-Jun-2011 23:07:03
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @Cara_Menggunakan_OpeningFcn, ...
'gui_OutputFcn', @Cara_Menggunakan_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before Cara_Menggunakan is made visible.
function Cara_Menggunakan_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn. % hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)