BAB IV HASIL DAN PEMBAHASAN
4.4 Analisis Menggunakan Software Matlab
Dengan menggunakan perhitungan yang telah dirancang pada software Matlab, dapat juga mengukur daya yang diterima pada ONT. Analisa perhitungan dilakukan dengan membandingkan hasil perhitungan secara manual dengan Software yang telah dibuat. Berikut ini hasil perhitungan menggunakan Software Matlab:
Gambar 211 Tampilan Hasil Perhitungan Berbasis Data Pelanggan FTTH PT. Telkom
40
Sensitifitas ONT berdasarkan standar PT. Telkom adalah -13.7 dBm sampai dengan -28 dBm. Ketiga pengujian tersebut masih dapat diterima karena masih pada standar sensitifitas ONT yang ada yaitu pada nilai sebesar -13.7 dBm sampai dengan -28 dBm. Dari pengujian tersebut maka didapat hasil dari masing-masing pengujian yang dapat dilihat pada Tabel 4.2. berikut ini:
Tabel 4. 2 Hasil Pengujian Data Pelanggan FTTH PT. Telkom
Jenis Pengujian Besar Daya ONT (dBm)
Pengukuran langsung ke lapangan -15.61 dBm Perhitungan menggunakan teori -22.0557 dBm Perhitungan menggunakan MATLAB -21.6757 dBm
Daya ONT yang paling baik diterima adalah daya ONT pada Software di
MATLAB karena software akan otomatis melakukan optimasi ketika proses
kalkulasi dijalankan. Daya ONT pada perhitungan MATLAB memiliki daya yang
paling besar daripada hasil pengujian lainnya yakni sebesar -21.6757 dBm,
sedangkan jika melihat hasil dari pengukuran secara langsung ke lapangan
mendapatkan hasil -15.61 dBm yang tentu saja ini sudah sangat baik untuk
digunakan. Dapat dilihat adanya selisih daya sebesar 6.0657 dBm dimana ini bisa
terjadi karena gangguan teknis pada saat melakukan instalasi. [3]. Gangguan yang
dimaksud adalah:
41
1. Serat optik putus. Ada pengaruh mekanis dan pengaruh instalasi yang menyebabkan serat optik putus. Pengaruh mekanis diantaranya adalah Pohon tumbang yang menimpa jalur kabel udara, tiang roboh, jalur kabel terkena benang layang-layang. Sedangkan pengaruh instalasi diantaranya adalah penarikan kabel optik yang dilakukan dengan gaya tarik terlalu besar, serta radius serat optik yang terlalu kecil.
2. Kesalahan dalam alur penarikan kabel pada saat menarik kabel ke rumah pelanggan. Kesalahan alur penarikan ini mungkin dapat menyebabkan tekukan (bending) dan kerusakan kecil pada kabel optik tersebut.
3. Kesalahan pada alat ukur yang bernama OPM pada saat di lapangan tidak jarang lupa dilakukan kalibrasi oleh teknisi sehingga terjadi ketidak akuratan nilai yang didapat.
4. ODP sumber yang menjadi pangkal tarikan kabel ke ONT. Pelanggan biasanya menggunakan ODP paling dekat dimana sebelumnya ODP tersebut sudah diisi dengan tarikan kabel pelanggan lainnya.
Daya yang didapatkan dengan perhitungan menggunakan teori adalah daya
yang paling besar yaitu senilai -22.0557 dBm. Daya ONT yang didapat melalui
pengukuran di lapangan terjadi selisih daya senilai 6.4457 dBm.
42
BAB V
KESIMPULAN DAN SARAN
5.1 Kesimpulan
Kesimpulan yang didapatkan dari penelitian ini adalah:
1. Hasil dengan menggunakan perhitungan MATLAB didapat sebesar -21.6757 dBm. Ini merupakan hasil daya yang paling baik karena mempunyai optimalisasi otomatis.
2. Hasil pengukuran daya ONT di lapangan didapat sebesar -15.61 dBm.
Sedangkan hasil pengukuran secara perhitungan MATLAB memiliki nilai sebesar -21.6757 dBm. Selisih antara pengukuran daya ONT di lapangan dengan perhitungan menggunakan MATLAB didapat sebesar 6.0657dBm.
3. Hasil keluaran perancangan secara MATLAB memiliki nilai-nilai yang mendekati dengan apa yang penulis harapkan.
5.2 Saran
Adapun saran yang dapat diberikan terhadap Tugas Akhir ini adalah:
1. Untuk perancangan selanjutnya, perhitungan menggunakan GUI MATLAB dapat ditambah fitur grafik agar hasil perhitungan dapat disajikan tidak hanya dalam bentuk angka, namun juga grafik.
2. Untuk perancangan selanjutnya diharapkan menggunakan Aplikasi yang
lain untuk mendapatkan hasil yang lebih beragam lagi.
43
DAFTAR PUSTAKA
[1] G.Keiser, Optical Fiber Communications, 4th edition. Singapore: McGraw- Hill Internatonal Edition, 2010.
[2] G.P. Agrawal, Fiber-Optic Communication System, 3rd edition. New York:
John Wiley & Sons, 2002.
[3] Hidajat, Saiful, Pedoman Instalasi Kabel Distribusi Jaringan Fiber Optik Terpadu (i-odn). Bandung: PT. Telekomunikai Indonesia Tbk, 2015
[4] Kartiria, Optimalisasi Jaringan Komunikai Serat Optik Melalui Analisa Power Budget (Studi Kasus PT. Telkom di STO Padang). Padang:
Institut Teknologi Padang, 2017.
[5] Musta’in, Arief, Pedoman Desain Jaringan Distribusi Fiber Optik Terpadu (Desain-iodn). Bandung: PT. Telekomunikasi Indonesia Tbk, 2015.
[6] Telkom Akses Digital Life, Provisioning Indihome TA-PR-042. Jakarta:
Telkom Indonesia, 2016.
[7] Telkom Akses Fiber Academy, Overview Fiber to The Home. Jakarta: PT.
Telkom Akses, 2016.
44
[8] Telkom Indonesia, Program pelatihan mitra FTTH, Instalasi Kabel Rumah
dan Gedung. Jakarta: PT. Telkom Akses, 2016
[9] https://ww2.mathworks.cn/. Mathlab. Diakses Pada Tanggal (15 Agustus
2019)
45
LAMPIRAN
Lampiran 1 Script Program GUI Matlab
% INTERFACE_1 MATLAB code for interface_1.fig
% INTERFACE_1, by itself, creates a new INTERFACE_1 or raises the existing
% INTERFACE_1('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in INTERFACE_1.M with the given input arguments.
%
% INTERFACE_1('Property','Value',...) creates a new INTERFACE_1 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before interface_1_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to interface_1_OpeningFcn via varargin.
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help interface_1
% Last Modified by GUIDE v2.5 17-Aug-2019 07:56:53
% Begin initialization code - DO NOT EDIT gui_Singleton = 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{:});
46 end
% End initialization code - DO NOT EDIT
% --- Executes just before interface_1 is made visible.
function interface_1_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 interface_1 (see VARARGIN)
% Choose default command line output for interface_1 handles.output = hObject;
% Update handles structure guidata(hObject, handles);
% UIWAIT makes interface_1 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = interface_1_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;
% --- 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) close;
% --- 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) close;
guidata(interface_2);
47
% --- 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;
guidata(interface_4);
% --- Executes on button press in pushbutton4.
function pushbutton4_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton4 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA) close;
guidata(interface_3);
% --- Executes during object creation, after setting all properties.
function pushbutton1_CreateFcn(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
buttonIm = imread('04_Img.png');
buttonIm = imresize(buttonIm,.60);
set(hObject,'cdata',buttonIm,'string', '');
% --- Executes during object creation, after setting all properties.
function axes1_CreateFcn(hObject, eventdata, handles)
% hObject handle to axes1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: place code in OpeningFcn to populate axes1 image = imread('tentang.png');
imshow(image);
% --- Executes during object creation, after setting all properties.
function axes2_CreateFcn(hObject, eventdata, handles)
% hObject handle to axes2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: place code in OpeningFcn to populate axes2
48 image = imread('simulasi.jpg');
imshow(image);
% --- Executes during object creation, after setting all properties.
function axes3_CreateFcn(hObject, eventdata, handles)
% hObject handle to axes3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: place code in OpeningFcn to populate axes3 image = imread('materi.jpg');
imshow(image);
% INTERFACE_2 MATLAB code for interface_2.fig
% INTERFACE_2, by itself, creates a new INTERFACE_2 or raises the existing
% INTERFACE_2('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in INTERFACE_2.M with the given input arguments.
%
% INTERFACE_2('Property','Value',...) creates a new INTERFACE_2 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before interface_2_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to interface_2_OpeningFcn via varargin.
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help interface_2
% Last Modified by GUIDE v2.5 23-Jul-2020 15:45:14
% Begin initialization code - DO NOT EDIT gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @interface_2_OpeningFcn, ...
49 'gui_OutputFcn', @interface_2_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 interface_2 is made visible.
function interface_2_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 interface_2 (see VARARGIN)
% Choose default command line output for interface_2 handles.output = hObject;
% Update handles structure guidata(hObject, handles);
% UIWAIT makes interface_2 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = interface_2_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;
% --- 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) close;
50
% --- 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) close;
guidata(interface_1);
% --- 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)
% --- Executes on button press in pushbutton4.
function pushbutton4_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton4 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes during object creation, after setting all properties.
function pushbutton1_CreateFcn(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
buttonIm = imread('04_Img.png');
buttonIm = imresize(buttonIm,.60);
set(hObject,'cdata',buttonIm,'string', '');
% --- Executes during object creation, after setting all properties.
function pushbutton2_CreateFcn(hObject, eventdata, handles)
% hObject handle to pushbutton2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
buttonIm = imread('01_Img.png');
buttonIm = imresize(buttonIm,.60);
set(hObject,'cdata',buttonIm,'string', '');
% --- Executes during object creation, after setting all properties.
function axes1_CreateFcn(hObject, eventdata, handles)
% hObject handle to axes1 (see GCBO)
51
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: place code in OpeningFcn to populate axes1 image = imread('logo.png');
imshow(image);
function varargout = interface_3(varargin)
% INTERFACE_3 MATLAB code for interface_3.fig
% INTERFACE_3, by itself, creates a new INTERFACE_3 or raises the existing
% INTERFACE_3('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in INTERFACE_3.M with the given input arguments.
%
% INTERFACE_3('Property','Value',...) creates a new INTERFACE_3 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before interface_3_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to interface_3_OpeningFcn via varargin.
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help interface_3
% Last Modified by GUIDE v2.5 23-Jul-2020 15:13:30
% Begin initialization code - DO NOT EDIT gui_Singleton = 1;
gui_State.gui_Callback = str2func(varargin{1});
end
52 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 interface_3 is made visible.
function interface_3_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 interface_3 (see VARARGIN)
% Choose default command line output for interface_3 handles.output = hObject;
% Update handles structure guidata(hObject, handles);
% UIWAIT makes interface_3 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = interface_3_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;
% --- 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) close;
% --- 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)
53 close;
guidata(interface_1);
% --- 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)
% --- Executes on button press in pushbutton4.
function pushbutton4_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton4 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes during object creation, after setting all properties.
function pushbutton1_CreateFcn(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
buttonIm = imread('04_Img.png');
buttonIm = imresize(buttonIm,.60);
set(hObject,'cdata',buttonIm,'string', '');
% --- Executes during object creation, after setting all properties.
function pushbutton2_CreateFcn(hObject, eventdata, handles)
% hObject handle to pushbutton2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% 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
54
% --- 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
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');
end
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
55
% 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
function edit4_Callback(hObject, eventdata, handles)
% hObject handle to edit4 (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 edit4 as text
% str2double(get(hObject,'String')) returns contents of edit4 as a double
% --- Executes during object creation, after setting all properties.
function edit4_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit4 (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 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)
56
% 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
function edit7_Callback(hObject, eventdata, handles)
% hObject handle to edit7 (see GCBO)
57
% 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 edit7 as text
% str2double(get(hObject,'String')) returns contents of edit7 as a double
% --- Executes during object creation, after setting all properties.
function edit7_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit7 (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 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
% --- Executes on button press in pushbutton5.
58 function pushbutton5_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton5 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
pt = str2double(get(handles.edit1,'String'));
% --- Executes on button press in pushbutton6.
function pushbutton6_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton6 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
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)
% handles structure with handles and user data (see GUIDATA)