LAMPIRAN LISTING PROGRAM

Size: px
Start display at page:

Download "LAMPIRAN LISTING PROGRAM"

Transcription

1 A1 LAMPIRAN LISTING PROGRAM Prototype.m function varargout = prototype(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); % Executes just before prototype is made visible. function prototype_openingfcn(hobject, eventdata, handles, varargin) handles.output = hobject; guidata(hobject, handles); % Outputs from this function are returned to the command line. function varargout = prototype_outputfcn(hobject, eventdata, handles) varargout{1} = handles.output; function utama_callback(hobject, eventdata, handles) function pelatihan_callback(hobject, eventdata, handles) function pengujian_callback(hobject, eventdata, handles) function bantuan_callback(hobject, eventdata, handles) menubantuan

2 A2 function keluar_callback(hobject, eventdata, handles) choice= questdlg ('apakah Anda yakin ingin keluar?','confirm',... 'Yes','No','No'); switch choice case'yes' close all; function ujibackpropagation_callback(hobject, eventdata, handles) ujibackpropagation close prototype; function ujiperceptron_callback(hobject, eventdata, handles) ujiperceptron close prototype; function metodebackpropagation_callback(hobject, eventdata, handles) metodebackpropagation close prototype; function metodeperceptron_callback(hobject, eventdata, handles) metodeperceptron close prototype; metodebackpropagation.m function varargout = metodebackpropagation(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); % End initialization code DO NOT EDIT % Executes just before metodebackpropagation is made visible.

3 A3 function metodebackpropagation_openingfcn(hobject, eventdata, handles, varargin) handles.output = hobject; guidata(hobject, handles); function varargout = metodebackpropagation_outputfcn(hobject, eventdata, handles, varargin) varargout{1} = handles.output; function utama_callback(hobject, eventdata, handles) metodebackpropagation \ function uji_jst_callback(hobject, eventdata, handles) ujibackpropagation close metodebackpropagation; function bantuan_callback(hobject, eventdata, handles) bantuanpelatihan function keluar_callback(hobject, eventdata, handles) function menuutama_callback(hobject, eventdata, handles) prototype close metodebackpropagation; function edit1_callback(hobject, eventdata, handles) % Executes during object creation, after setting all properties. function edit1_createfcn(hobject, eventdata, handles) % Executes on button press in cari. function cari_callback(hobject, eventdata, handles) [nama_file,nama_path] = uigetfile({'*.jpg','file jpeg (*.jpg)'},'buka File Citra'); if ~isequal(nama_file,0) handles.citra=imread(fullfile(nama_path,nama_file)); imshow(handles.citra); imshow(handles.citra); return; ;

4 A4 % Executes on button press in cari2. function cari2_callback(hobject, eventdata, handles) [nama_file,nama_path] = uigetfile({'*.jpg','file jpeg (*.jpg)'},'buka File Citra'); if ~isequal(nama_file,0) handles.citra2=imread(fullfile(nama_path,nama_file)); axes(handles.axes2); imshow(handles.citra); axes(handles.axes2); imshow(handles.citra); return; ; % function edit3_callback(hobject, eventdata, handles) function edit3_createfcn(hobject, eventdata, handles) % Executes on slider movement. function varargout = sd_tres_callback(hobject, eventdata, handles, varargin) nilai_red = get(handles.sd_tres,'value'); handles.nilai_red = round(nilai_red); set(handles.edit,'string',handles.nilai_red); citra_gray=rgb2gray(handles.citra); citra_gray=double(citra_gray); [b k]=size(citra_gray); for x=1:b for y=1:k if citra_gray(x,y)<nilai_red citra_threshold(x,y)=0; if citra_gray(x,y)>=nilai_red citra_threshold(x,y)=1; citra_threshold handles.citra_tres=citra_threshold; imshow(citra_threshold); % Executes during object creation, after setting all properties. function sd_tres_createfcn(hobject, eventdata, handles) if isequal(get(hobject,'backgroundcolor'), set(hobject,'backgroundcolor',[.9.9.9]); function varargout = sd_tres2_callback(hobject, eventdata, handles, varargin)

5 A5 nilai_red2 = get(handles.sd_tres2,'value'); handles.nilai_red2 = round(nilai_red2); set(handles.edit3,'string',handles.nilai_red2); citra_gray2=rgb2gray(handles.citra2); citra_gray2=double(citra_gray2); [b k]=size(citra_gray2); for x=1:b for y=1:k if citra_gray2(x,y)<nilai_red2 citra_threshold2(x,y)=0; if citra_gray2(x,y)>=nilai_red2 citra_threshold2(x,y)=1; citra_threshold2 handles.citra_tres2=citra_threshold2; axes(handles.axes2); imshow(citra_threshold2); function sd_tres2_createfcn(hobject, eventdata, handles) if isequal(get(hobject,'backgroundcolor'), set(hobject,'backgroundcolor',[.9.9.9]); % Executes on button press in reduksidata. function reduksidata_callback(hobject, eventdata, handles) dataawal = xlsread('programbackpropagation.xlsx','datapincode'); prosesdata=mean(dataawal); [A,B]=size(dataawal); databaru= dataawal repmat(prosesdata,a,1); [A,B]=size(databaru); for x = 1:A for y = 1:B if databaru(x,y)<=0 databaru(x,y)=0; olahdata = 1/B *(databaru*databaru'); [PC,V]= eig(olahdata); V=diag(V); [junk,rindices]= sort(1*v); V=V(rindices); PC = PC (:,rindices); signal=dataawal'*pc; ext= dataawal*signal; minr=min(ext); minr=min(minr); maxr=max(ext); maxr=max(maxr); delta=maxrminr; datautama=2*(extminr)/delta1; xlswrite('programbackpropagation1.xlsx',signal,'datapincode','a1:t250 0');

6 A6 xlswrite('programbackpropagation1.xlsx',ext,'datapincode','a2502:t252 1'); xlswrite('programbackpropagation1.xlsx',datautama,'datapincode','a252 3:T2542'); % Executes on button press in simpanbackpropagation. function simpanbackpropagation_callback(hobject, eventdata, handles) nopin = get(handles.edit1,'string'); a = double(handles.citra_tres); b = double(handles.citra_tres2); pin = [reshape(a,1,2500); reshape(b,1,2500)]; set(handles.edit1,'string',''); set(handles.edit,'string','0'); set(handles.edit3,'string','0'); imshow(1); axes(handles.axes2); imshow(1); if(strcmp(nopin,'21a86cc1')) xlswrite('programbackpropagation.xlsx',pin,'datapincode','a1'); if (strcmp(nopin,'21e52edc')) xlswrite('programbackpropagation.xlsx',pin,'datapincode','a3'); if (strcmp(nopin,'25d6096b')) xlswrite('programbackpropagation.xlsx',pin,'datapincode','a5'); if (strcmp(nopin,'26b5e5c0')) xlswrite('programbackpropagation.xlsx',pin,'datapincode','a7'); if (strcmp(nopin,'27c30b0b')) xlswrite('programbackpropagation.xlsx',pin,'datapincode','a9'); if (strcmp(nopin,'27fbba4a')) xlswrite('programbackpropagation.xlsx',pin,'datapincode','a11'); if (strcmp(nopin,'29ea3a24')) xlswrite('programbackpropagation.xlsx',pin,'datapincode','a13'); if (strcmp(nopin,'3114aa76')) xlswrite('programbackpropagation.xlsx',pin,'datapincode','a15'); if (strcmp(nopin,'231708d0')) xlswrite('programbackpropagation.xlsx',pin,'datapincode','a17'); if (strcmp(nopin,' a')) xlswrite('programbackpropagation.xlsx',pin,'datapincode','a19'); xlswrite('programbackpropagation.xlsx',pin,'datapincode','a21'); % Executes on button press in resetbackpropagation. function resetbackpropagation_callback(hobject, eventdata, handles) set(handles.edit1,'string','','enable','on'); set(handles.edit,'string','','enable','on'); imshow(1); axes(handles.axes2); imshow(2); % Executes during object creation, after setting all properties. function edit_callback(hobject, eventdata, handles) % Executes during object creation, after setting all properties. function edit_createfcn(hobject, eventdata, handles)

7 A7 % Executes on button press in backpropagation. function backpropagation_callback(hobject, eventdata, handles) input = xlsread('programbackpropagation1.xlsx','datapincode','a2523:t2542'); target = [ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ]; target = target'; input=input'; net = newff(minmax(input),[ ], {'tansig','tansig','tansig'},'traingda'); net.trainparam.show=100; net.trainparam.epochs=20000; net.trainparam.goal=0.0001; net.trainparam.lr = 0.1; net.trainparam.mc = 0.1; [net,tr] = train(net,input,target); xlswrite('programbackpropagation2.xlsx',net.iw{1,1},'bobot','a'); xlswrite('programbackpropagation3.xlsx',net.lw{2,1},'bobot','a'); xlswrite('programbackpropagation4.xlsx',net.lw{3,2},'bobot','a'); xlswrite('programbackpropagation5.xlsx',net.b{1},'bias','a1:a20'); xlswrite('programbackpropagation5.xlsx',net.b{2},'bias','b1:b20'); xlswrite('programbackpropagation5.xlsx',net.b{3},'bias','c1:c10'); output = sim(net,input) metodeperceptron.m function varargout = metodeperceptron(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1})

8 A8 gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); % Executes just before metodeperceptron is made visible. function metodeperceptron_openingfcn(hobject, eventdata, handles, varargin) handles.output = hobject; guidata(hobject, handles); % Outputs from this function are returned to the command line. function varargout = metodeperceptron_outputfcn(hobject, eventdata, handles) varargout{1} = handles.output; function edit1_callback(hobject, eventdata, handles) % Executes during object creation, after setting all properties. function edit1_createfcn(hobject, eventdata, handles) function utama_callback(hobject, eventdata, handles) metodeperceptron function bantuan_callback(hobject, eventdata, handles) bantuanpelatihan function keluar_callback(hobject, eventdata, handles) close metodeperceptron; function uji_jst_callback(hobject, eventdata, handles) ujiperceptron close metodeperceptron; % Executes on button press in cari. function cari_callback(hobject, eventdata, handles) [nama_file,nama_path] = uigetfile({'*.jpg','file jpeg (*.jpg)'},'buka File Citra'); if ~isequal(nama_file,0) handles.citra=imread(fullfile(nama_path,nama_file));

9 A9 imshow(handles.citra); imshow(handles.citra); return; ; % Executes on button press in cari. function cari2_callback(hobject, eventdata, handles) [nama_file,nama_path] = uigetfile({'*.jpg','file jpeg (*.jpg)'},'buka File Citra'); if ~isequal(nama_file,0) handles.citra2=imread(fullfile(nama_path,nama_file)); axes(handles.axes2); imshow(handles.citra2); axes(handles.axes2); imshow(handles.citra2); return; ; % Executes on slider movement. function varargout = sd_tres_callback(hobject, eventdata, handles, varargin) nilai_red = get(handles.sd_tres,'value'); handles.nilai_red = round(nilai_red); set(handles.edit1,'string',handles.nilai_red); citra_gray=rgb2gray(handles.citra); citra_gray=double(citra_gray); [b k]=size(citra_gray); for x=1:b for y=1:k if citra_gray(x,y)<nilai_red citra_threshold(x,y)=0; if citra_gray(x,y)>=nilai_red citra_threshold(x,y)=1; citra_threshold handles.citra_tres=citra_threshold; imshow(citra_threshold); % Executes on slider movement. function sd_tres2_callback(hobject, eventdata, handles) nilai_red2 = get(handles.sd_tres2,'value'); handles.nilai_red2 = round(nilai_red2); set(handles.edit2,'string',handles.nilai_red2); citra_gray2=rgb2gray(handles.citra2); citra_gray2=double(citra_gray2); [b k]=size(citra_gray2); for x=1:b for y=1:k if citra_gray2(x,y)<nilai_red2

10 A10 citra_threshold2(x,y)=0; if citra_gray2(x,y)>=nilai_red2 citra_threshold2(x,y)=1; citra_threshold2 handles.citra_tres2=citra_threshold2; axes(handles.axes2); imshow(citra_threshold2); function sd_tres2_createfcn(hobject, eventdata, handles) function sd_tres_createfcn(hobject, eventdata, handles) if isequal(get(hobject,'backgroundcolor'), set(hobject,'backgroundcolor',[.9.9.9]); if isequal(get(hobject,'backgroundcolor'), set(hobject,'backgroundcolor',[.9.9.9]); % Executes on button press in simpanperceptron function simpanperceptron_callback(hobject, eventdata, handles) nopin = get(handles.edit3,'string'); a = double(handles.citra_tres); b = double(handles.citra_tres2); pin = [reshape(a,1,2500); reshape(b,1,2500)]; set(handles.edit3,'string',''); set(handles.edit1,'string','0'); set(handles.edit2,'string','0'); imshow(1); axes(handles.axes2); imshow(1); if(strcmp(nopin,'21a86cc1')) xlswrite('programperceptron.xlsx',pin,'datapincode','a1'); if (strcmp(nopin,'21e52edc')) xlswrite('programperceptron.xlsx',pin,'datapincode','a3'); if (strcmp(nopin,'25d6096b')) xlswrite('programperceptron.xlsx',pin,'datapincode','a5'); if (strcmp(nopin,'26b5e5c0')) xlswrite('programperceptron.xlsx',pin,'datapincode','a7'); if (strcmp(nopin,'27c30b0b')) xlswrite('programperceptron.xlsx',pin,'datapincode','a9'); if (strcmp(nopin,'27fbba4a')) xlswrite('programperceptron.xlsx',pin,'datapincode','a11'); if (strcmp(nopin,'29ea3a24')) xlswrite('programperceptron.xlsx',pin,'datapincode','a13'); if (strcmp(nopin,'3114aa76')) xlswrite('programperceptron.xlsx',pin,'datapincode','a15'); if (strcmp(nopin,'231708d0')) xlswrite('programperceptron.xlsx',pin,'datapincode','a17'); if (strcmp(nopin,' a')) xlswrite('programperceptron.xlsx',pin,'datapincode','a19');

11 A11 xlswrite('programperceptron.xlsx',pin,'datapincode','a21'); % Executes on button press in reduksidata. function reduksidata_callback(hobject, eventdata, handles) dataawal = xlsread('programperceptron.xlsx','datapincode'); prosesdata=mean(dataawal); [A,B]=size(dataawal); databaru= dataawal repmat(prosesdata,a,1); [A,B]=size(databaru); for x = 1:A for y = 1:B if databaru(x,y)<=0 databaru(x,y)=0; olahdata = 1/B *(databaru*databaru'); [PC,V]= eig(olahdata); V=diag(V); [junk,rindices]= sort(1*v); V=V(rindices); PC = PC(:,rindices); signal=dataawal'*pc; ext= dataawal*signal; minr=min(ext); minr=min(minr); maxr=max(ext); maxr=max(maxr); delta=maxrminr; datautama=2*(extminr)/delta1; xlswrite('programperceptron1.xlsx',signal,'datapincode','a1:t2500'); xlswrite('programperceptron1.xlsx',ext,'datapincode','a2502:t2521'); xlswrite('programperceptron1.xlsx',datautama,'datapincode','a2523:t25 42'); % Executes on button press in reset. function reset_callback(hobject, eventdata, handles) set(handles.edit1,'string','','enable','on'); set(handles.edit2,'string','','enable','on'); imshow(1); axes(handles.axes2); imshow(2); % Executes on button press in latihjst. function latihjst_callback(hobject, eventdata, handles) input = xlsread('programperceptron1.xlsx','datapincode','a2523:t2542') target = [ ; ; ; ; ; ; ; ; ; ; ;

12 A ; ; ; ; ; ; ; ; ]; target = target'; input=input'; net = newp(minmax(input),10); net.trainparam.show=1000; net.trainparam.epochs=20000; net.trainparam.goal=0.0001; %net.adaptparam.passes = 500; [net,output]= adapt (net,input,target); [net,tr] = train (net,input,target); xlswrite('programperceptron2.xlsx',net.iw{1,1},'bobot','a'); xlswrite('programperceptron5.xlsx',net.b{1},'bias','a1:a10'); output = sim (net,input) function edit2_callback(hobject, eventdata, handles) % Executes during object creation, after setting all properties. function edit2_createfcn(hobject, eventdata, handles) function menuutama_callback(hobject, eventdata, handles) prototype close metodeperceptron; function edit3_callback(hobject, eventdata, handles) % Executes during object creation, after setting all properties. function edit3_createfcn(hobject, eventdata, handles) ujibackpropagation.m function varargout = ujibackpropagation(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_layoutfcn', [],...

13 A13 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); % Executes just before ujibackpropagation is made visible. function ujibackpropagation_openingfcn(hobject, eventdata, handles, varargin) handles.output = hobject; guidata(hobject, handles); % Outputs from this function are returned to the command line. function varargout = ujibackpropagation_outputfcn(hobject, eventdata, handles) varargout{1} = handles.output; function utama_callback(hobject, eventdata, handles) ujibackpropagation function bantuan_callback(hobject, eventdata, handles) bantuanpengujian function keluar_callback(hobject, eventdata, handles) function menuutama_callback(hobject, eventdata, handles) prototype function edit1_callback(hobject, eventdata, handles) % Executes during object creation, after setting all properties. function edit1_createfcn(hobject, eventdata, handles) % Executes on button press in cari. function cari_callback(hobject, eventdata, handles) [filename, pathname] = uigetfile({'*.jpg','file jpeg (*.jpg)'}, 'Open Bitmap File'); if isequal(filename, 0) return; info = imfinfo([pathname, filename]);

14 A14 filename = info.filename; handles.citra = imread(fullfile(pathname, filename)); guidata(hobject, handles); imshow(handles.citra); set(handles.edit3, 'string', filename); ; function edit2_callback(hobject, eventdata, handles) % Executes during object creation, after setting all properties. function edit2_createfcn(hobject, eventdata, handles) % Executes on slider movement. function slider1_callback(hobject, eventdata, handles) nilai_red = get(handles.slider1,'value'); handles.nilai_red = round(nilai_red); set(handles.edit1,'string',handles.nilai_red); citra_gray=rgb2gray(handles.citra); citra_gray=double(citra_gray); [b k]=size(citra_gray); for x=1:b for y=1:k if citra_gray(x,y)<nilai_red citra_threshold(x,y)=0; if citra_gray(x,y)>=nilai_red citra_threshold(x,y)=1; citra_threshold handles.citra_tes=citra_threshold; guidata(hobject,handles) imshow(citra_threshold); % Executes during object creation, after setting all properties. function slider1_createfcn(hobject, eventdata, handles) if isequal(get(hobject,'backgroundcolor'), set(hobject,'backgroundcolor',[.9.9.9]); % Executes on button press in reset. function reset_callback(hobject, eventdata, handles) set(handles.edit1,'string','','enable','on'); set(handles.edit2,'string','','enable','on'); imshow(1); % Executes on button press in ujipengenalan. function ujipengenalan_callback(hobject, eventdata, handles)

15 A15 tstart=tic; Signal = xlsread('programbackpropagation1.xlsx','datapincode','a1:t2500'); ext = xlsread('programbackpropagation1.xlsx','datapincode','a2502:t2521'); input = xlsread('programbackpropagation1.xlsx','datapincode','a2523:t2542'); citrauji = double(handles.citra_tes); flatvec = [reshape(citrauji,1,2500)]; mat_uji = flatvec*signal; minr=min(ext); minr=min(minr); maxr=max(ext); maxr=max(maxr); delta=maxrminr; datapengujian = 2 *(mat_ujiminr)/delta1; target =[ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ]; target = target'; input = input'; net = newff(minmax(input),[ ], {'tansig','tansig','tansig'},'traingdx'); net = init(net); net.iw{1,1}= xlsread('programbackpropagation2.xlsx','bobot'); net.lw{2,1}= xlsread('programbackpropagation3.xlsx','bobot'); net.lw{3,2}= xlsread('programbackpropagation4.xlsx','bobot'); net.b{1}= xlsread('programbackpropagation5.xlsx','bias','a1:a20'); net.b{2}= xlsread('programbackpropagation5.xlsx','bias','b1:b20'); net.b{3}= xlsread('programbackpropagation5.xlsx','bias','c1:c10'); datapengujian=datapengujian' output = sim(net,datapengujian) if (output(1,1)<0.9) a(1,1)=0; a(1,1)=1; if (output(2,1)<0.9) a(2,1)=0;

16 A16 a(2,1)=1; if (output(3,1)<0.9) a(3,1)=0; a(3,1)=1; if (output(4,1)<0.9) a(4,1)=0; a(4,1)=1; if (output(5,1)<0.9) a(5,1)=0; a(5,1)=1; if (output(6,1)<0.9) a(6,1)=0; a(6,1)=1; if (output(7,1)<0.9) a(7,1)=0; a(7,1)=1; if (output(8,1)<0.9) a(8,1)=0; a(8,1)=1; if (output(9,1)<0.9) a(9,1)=0; a(9,1)=1; if (output(10,1)<0.9) a(10,1)=0; a(10,1)=1; pin=[a(1,1);a(2,1);a(3,1);a(4,1);a(5,1);a(6,1);a(7,1);a(8,1);a(9,1);a (10,1)]; pin1 = [1; 0; 0; 0; 0; 0; 0; 0; 0; 0;]; pin2 = [0; 1; 0; 0; 0; 0; 0; 0; 0; 0;]; pin3 = [0; 0; 1; 0; 0; 0; 0; 0; 0; 0;]; pin4 = [0; 0; 0; 1; 0; 0; 0; 0; 0; 0;]; pin5 = [0; 0; 0; 0; 1; 0; 0; 0; 0; 0;]; pin6 = [0; 0; 0; 0; 0; 1; 0; 0; 0; 0;];

17 A17 pin7 = [0; 0; 0; 0; 0; 0; 1; 0; 0; 0;]; pin8 = [0; 0; 0; 0; 0; 0; 0; 1; 0; 0;]; pin9 = [0; 0; 0; 0; 0; 0; 0; 0; 1; 0;]; pin10 = [0; 0; 0; 0; 0; 0; 0; 0; 0; 1;]; if isequal (a,pin1) edit2='21a86cc1'; if isequal (a,pin2) edit2='21e52edc'; if isequal (a,pin3) edit2='25d6096b'; if isequal (a,pin4) edit2= '26B5E5C0'; if isequal (a,pin5) edit2='27c30b0b'; if isequal (a,pin6) edit2='27fbba4a'; if isequal (a,pin7) edit2='29ea3a24'; if isequal (a,pin8) edit2='3114aa76'; if isequal (a,pin9) edit2= '231708D0'; if isequal (a,pin10) edit2= ' A'; edit2='tidak Dikenali'; set(handles.edit2,'string',edit2); waktuuji = toc(tstart); set(handles.edit4,'string',waktuuji); function edit3_callback(hobject, eventdata, handles) % Executes during object creation, after setting all properties. function edit3_createfcn(hobject, eventdata, handles) function edit4_callback(hobject, eventdata, handles) % Executes during object creation, after setting all properties. function edit4_createfcn(hobject, eventdata, handles) ujiperceptron.m function varargout = ujiperceptron(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,...

18 A18 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); % Executes just before ujiperceptron is made visible. function ujiperceptron_openingfcn(hobject, eventdata, handles, varargin) handles.output = hobject; guidata(hobject, handles); % Outputs from this function are returned to the command line. function varargout = ujiperceptron_outputfcn(hobject, eventdata, handles) varargout{1} = handles.output; % function utama_callback(hobject, eventdata, handles) ujiperceptron function bantuan_callback(hobject, eventdata, handles) bantuanpengujian function keluar_callback(hobject, eventdata, handles) close ujiperceptron; function menuutama_callback(hobject, eventdata, handles) prototype close ujiperceptron; function edit3_callback(hobject, eventdata, handles) % Executes during object creation, after setting all properties. function edit3_createfcn(hobject, eventdata, handles) % Executes on button press in cari. function varargout = cari_callback(hobject, eventdata, handles, varargin) [filename, pathname] = uigetfile({'*.jpg','file jpeg (*.jpg)'}, 'Open Bitmap File');

19 A19 if isequal(filename, 0) return; info = imfinfo([pathname, filename]); filename = info.filename; handles.citra = imread(fullfile(pathname, filename)); guidata(hobject, handles); imshow(handles.citra); set(handles.edit3, 'string', filename); ; % Executes on slider movement. function slider1_callback(hobject, eventdata, handles) nilai_red = get(handles.slider1,'value'); handles.nilai_red = round(nilai_red); set(handles.edit1,'string',handles.nilai_red); citra_gray=rgb2gray(handles.citra); citra_gray=double(citra_gray); [b k]=size(citra_gray); for x=1:b for y=1:k if citra_gray(x,y)<nilai_red citra_threshold(x,y)=0; if citra_gray(x,y)>=nilai_red citra_threshold(x,y)=1; citra_threshold handles.citra_tes=citra_threshold; guidata(hobject,handles) imshow(citra_threshold); % Executes during object creation, after setting all properties. function slider1_createfcn(hobject, eventdata, handles) if isequal(get(hobject,'backgroundcolor'), set(hobject,'backgroundcolor',[.9.9.9]); % Executes on button press in reset. function reset_callback(hobject, eventdata, handles) set(handles.edit1,'string','','enable','on'); set(handles.edit2,'string','','enable','on'); imshow(1); % function edit1_callback(hobject, eventdata, handles) % Executes during object creation, after setting all properties. function edit1_createfcn(hobject, eventdata, handles)

20 A20 % function edit2_callback(hobject, eventdata, handles) % Executes during object creation, after setting all properties. function edit2_createfcn(hobject, eventdata, handles) % Executes on button press in ujipengenalan. function ujipengenalan_callback(hobject, eventdata, handles) tstart=tic; signal = xlsread('programperceptron1.xlsx','datapincode','a1:t2500'); ext = xlsread('programperceptron1.xlsx','datapincode','a2502:t2521'); input = xlsread('programperceptron1.xlsx','datapincode','a2523:t2542'); datainput = double (handles.edit2); citrauji = double(handles.citra_tes); flatvec = [reshape(citrauji,1,2500)]; mat_uji = flatvec*signal; minr=min(ext); minr=min(minr); maxr=max(ext); maxr=max(maxr); delta=maxrminr; datapengujian = 2 *(mat_ujiminr)/delta1; target =[ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ]; target = target'; input = input'; net = newp(minmax(input),10); net = init(net); net.adaptparam.passes = 500; [net,output]= adapt (net,input,target); net.iw{1,1}= xlsread('programperceptron2.xlsx','bobot'); net.b{1}= xlsread('programperceptron5.xlsx','bias','a1:a10'); datapengujian=datapengujian' output = sim(net,datapengujian)

21 A21 if (output(1,1)<0.6) a(1,1)=0; a(1,1)=1; if (output(2,1)<0.6) a(2,1)=0; a(2,1)=1; if (output(3,1)<0.6) a(3,1)=0; a(3,1)=1; if (output(4,1)<0.6) a(4,1)=0; a(4,1)=1; if (output(5,1)<0.9) a(5,1)=0; a(5,1)=1; if (output(6,1)<0.9) a(6,1)=0; a(6,1)=1; if (output(7,1)<0.9) a(7,1)=0; a(7,1)=1; if (output(8,1)<0.9) a(8,1)=0; a(8,1)=1; if (output(9,1)<0.9) a(9,1)=0; a(9,1)=1; if (output(10,1)<0.9) a(10,1)=0; a(10,1)=1;

22 A22 pin=[a(1,1);a(2,1);a(3,1);a(4,1);a(5,1);a(6,1);a(7,1);a(8,1);a(9,1);a (10,1)]; pin1 = [1; 0; 0; 0; 0; 0; 0; 0; 0; 0;]; pin2 = [0; 1; 0; 0; 0; 0; 0; 0; 0; 0;]; pin3 = [0; 0; 1; 0; 0; 0; 0; 0; 0; 0;]; pin4 = [0; 0; 0; 1; 0; 0; 0; 0; 0; 0;]; pin5 = [0; 0; 0; 0; 1; 0; 0; 0; 0; 0;]; pin6 = [0; 0; 0; 0; 0; 1; 0; 0; 0; 0;]; pin7 = [0; 0; 0; 0; 0; 0; 1; 0; 0; 0;]; pin8 = [0; 0; 0; 0; 0; 0; 0; 1; 0; 0;]; pin9 = [0; 0; 0; 0; 0; 0; 0; 0; 1; 0;]; pin10 = [0; 0; 0; 0; 0; 0; 0; 0; 0; 1;]; if isequal (a,pin1) edit2='21a86cc1'; if isequal (a,pin2) edit2='21e52edc'; if isequal (a,pin3) edit2='25d6096b'; if isequal (a,pin4) edit2= '26B5E5C0'; if isequal (a,pin5) edit2='27c30b0b'; if isequal (a,pin6) edit2='27fbba4a'; if isequal (a,pin7) edit2='29ea3a24'; if isequal (a,pin8) edit2='3114aa76'; if isequal (a,pin9) edit2= '231708D0'; if isequal (a,pin10) edit2= ' A'; edit2='tidak Dikenali'; set(handles.edit2,'string',edit2); waktuuji = toc(tstart); set(handles.edit4,'string',waktuuji); function edit4_callback(hobject, eventdata, handles) % Executes during object creation, after setting all properties. function edit4_createfcn(hobject, eventdata, handles) menubantuan.m function varargout = menubantuan(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,...

23 A23 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); function menubantuan_openingfcn(hobject, eventdata, handles, varargin) handles.output = hobject; guidata(hobject, handles); function varargout = menubantuan_outputfcn(hobject, eventdata, handles) varargout{1} = handles.output; function edit3_callback(hobject, eventdata, handles) function edit3_createfcn(hobject, eventdata, handles) function bantuan_callback(hobject, eventdata, handles) menubantuan function keluar_callback(hobject, eventdata, handles) close menubantuan; bantuanpelatihan.m function varargout = bantuanpelatihan(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1});

24 A24 if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); function bantuanpelatihan_openingfcn(hobject, eventdata, handles, varargin) handles.output = hobject; guidata(hobject, handles); function varargout = bantuanpelatihan_outputfcn(hobject, eventdata, handles) varargout{1} = handles.output; function edit3_callback(hobject, eventdata, handles) function edit3_createfcn(hobject, eventdata, handles) function bantuanpelatihan_callback(hobject, eventdata, handles) bantuanpelatihan function keluar_callback(hobject, eventdata, handles) close bantuanpelatihan bantuanpengujian.m function varargout = bantuanpengujian(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1}); if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); gui_mainfcn(gui_state, varargin{:}); function bantuanpengujian_openingfcn(hobject, eventdata, handles, varargin)

25 A25 handles.output = hobject; guidata(hobject, handles); function varargout = bantuanpengujian_outputfcn(hobject, eventdata, handles) varargout{1} = handles.output; function edit3_callback(hobject, eventdata, handles) function edit3_createfcn(hobject, eventdata, handles) function bantuanpengujian_callback(hobject, eventdata, handles) bantuanpengujian function keluar_callback(hobject, eventdata, handles) close bantuanpengujian

26 B1 CURRICULUM VITAE Nama Alamat Sekarang Alamat Orang tua : Ardi Hasiholan : Jl. Dr. Mansyur No. 70 Asrama PuteraMedan : Jl. Lumbu Timur 1A No. 60 RawalumbuBekasi Telp/Hp : ardihasiholan@gmail.com Riwayat Pidikan : S1 Ilmu Komputer, Medan : SMA Mahanaim Bekasi : SMP Negeri 16 Bekasi : SD Negeri Bojong Rawalumbu XI Bekasi Keahlian/Kursus yang diikuti Jaringan Komputer

LAMPIRAN 1. Percobaan

LAMPIRAN 1. Percobaan LAMPIRAN 1 1. Larutan 15 ppm Polystyrene ENERGI Percobaan 1 2 3 PROBABILITY 0.07 0.116 0.113 0.152 0.127 0.15 0.256 0.143 0.212 0.203 0.22 0.24 0.234 0.23 0.234 0.3 0.239 0.35 0.201 0.263 0.37 0.389 0.382

More information

LISTING PROGRAM. if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); else gui_mainfcn(gui_state, varargin{:}); end

LISTING PROGRAM. if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); else gui_mainfcn(gui_state, varargin{:}); end A-1 LISTING PROGRAM 1. Form Cover function varargout = cover(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @cover_openingfcn,...

More information

LISTING PROGRAM. % Edit the above text to modify the response to help cover. % Last Modified by GUIDE v Jun :24:43

LISTING PROGRAM. % Edit the above text to modify the response to help cover. % Last Modified by GUIDE v Jun :24:43 A1 LISTING PROGRAM 1. Form Cover function varargout = cover(varargin) COVER MATLAB code for cover.fig COVER, by itself, creates a new COVER or raises the existing singleton*. H = COVER returns the handle

More information

LISTING PROGRAM. % UIWAIT makes pertama wait for user response (see UIRESUME) % uiwait(handles.figure1);

LISTING PROGRAM. % UIWAIT makes pertama wait for user response (see UIRESUME) % uiwait(handles.figure1); LISTING PROGRAM FORM PERTAMA : function varargout = pertama(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @pertama_openingfcn,...

More information

1. Peralatan LAMPIRAN

1. Peralatan LAMPIRAN 1. Peralatan LAMPIRAN 2. Data Sampel a. Air murni 3ml Energy(mj) Probability Air Murni 0.07 0.001 0.15 0.003 0.22 0.006 0.3 0.028 0.37 0.045 0.39 0.049 0.82 0.053 0.89 0.065 1.28 0.065 1.42 0.106 1.7

More information

% --- Executes on button press in btn_gsn. function btn_gsn_callback(hobject, eventdata, handles) GaussianSpeckleNoise close AiSoftware;

% --- Executes on button press in btn_gsn. function btn_gsn_callback(hobject, eventdata, handles) GaussianSpeckleNoise close AiSoftware; A-2 'gui_openingfcn', @AiSoftware_OpeningFcn,... 'gui_outputfcn', @AiSoftware_OutputFcn,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1});

More information

Signal and Systems. Matlab GUI based analysis. XpertSolver.com

Signal and Systems. Matlab GUI based analysis. XpertSolver.com Signal and Systems Matlab GUI based analysis Description: This Signal and Systems based Project takes a sound file in.wav format and performed a detailed analysis, as well as filtering of the signal. The

More information

% Edit the above text to modify the response to help Video_Player. % Last Modified by GUIDE v May :38:12

% Edit the above text to modify the response to help Video_Player. % Last Modified by GUIDE v May :38:12 FILE NAME: Video_Player DESCRIPTION: Video Player Name Date Reason Sahariyaz 28-May-2015 Basic GUI concepts function varargout = Video_Player(varargin) VIDEO_PLAYER MATLAB code for Video_Player.fig VIDEO_PLAYER,

More information

LAMPIRAN A LISTINGPROGRAM

LAMPIRAN A LISTINGPROGRAM LAMPIRAN A LISTINGPROGRAM 1. Form Utama (myprogram.fig) function varargout = myprogram(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn',

More information

GUI code for different sections is in following sections

GUI code for different sections is in following sections Software Listing The Graphical User Interface (GUI) and Fuzzy Inference System (FIS) are developed in MATLAB. Software code is developed for different sections like Weaving section, Motor Status, Environment,

More information

MV 1:00 1:05 1:00 1:05

MV 1:00 1:05 1:00 1:05 1 54 MV 1:00 1:05 1:00 1:05 55 DTW 56 function varargout = my_filter8(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @my_filter8_openingfcn,...

More information

% Edit the above text to modify the response to help Principal

% Edit the above text to modify the response to help Principal function varargout = Principal(varargin) % OPFGUI MATLAB code for Principal.fig % OPFGUI, by itself, creates a new OPFGUI or raises the existing % singleton*. % % H = OPFGUI returns the handle to a new

More information

1.Matlab Image Encryption Code

1.Matlab Image Encryption Code 1.Matlab Image Encryption Code (URL: http://www.cheers4all.com/2012/04/matlab-image-encryption-code/) This project is Image Encryption & Decryption. The user will give an input and encryption factor. The

More information

LAMPIRAN A PROGRAM PELATIHAN DAN PENGUJIAN

LAMPIRAN A PROGRAM PELATIHAN DAN PENGUJIAN LAMPIRAN A PROGRAM PELATIHAN DAN PENGUJIAN Program Preprocessing Image clc; clear all; % Preprocessing Image -------------------------------------------- daniel{1}=imread('daniel1.bmp'); daniel{2}=imread('daniel2.bmp');

More information

Supplementary Information

Supplementary Information Supplementary Information Retooling Laser Speckle Contrast Analysis Algorithm to Enhance Non-Invasive High Resolution Laser Speckle Functional Imaging of Cutaneous Microcirculation Surya C Gnyawali 1,

More information

Homeworks on FFT Instr. and Meas. for Communication Systems- Gianfranco Miele. Name Surname

Homeworks on FFT Instr. and Meas. for Communication Systems- Gianfranco Miele. Name Surname Homeworks on FFT 90822- Instr. and Meas. for Communication Systems- Gianfranco Miele Name Surname October 15, 2014 1 Name Surname 90822 (Gianfranco Miele): Homeworks on FFT Contents Exercise 1 (Solution)............................................

More information

ECE Fall 05. Undergraduate Research: Digital Signal Processing & Quantization Effects

ECE Fall 05. Undergraduate Research: Digital Signal Processing & Quantization Effects ECE 491-153 Fall 05 Undergraduate Research: Digital Signal Processing & Quantization Effects Done By: Tanim Taher SID# 10370800 Date: December 19, 2005 DSP & Quantization 1 Tanim Taher ACKNOWLEDGEMENTS

More information

Finding a Minimum Covering Circle Based on Infinity Norms

Finding a Minimum Covering Circle Based on Infinity Norms Finding a Minimum Covering Circle Based on Infinity Norms by Andrew A. Thompson ARL-TR-4495 July 2008 Approved for public release; distribution is unlimited. NOTICES Disclaimers The findings in this report

More information

Lampiran 1. Script M-File Global Ridge

Lampiran 1. Script M-File Global Ridge LAMPIRAN 67 Lampiran 1. Script M-File Global Ridge function [l, e, L, E] = globalridge(h, Y, l) [l, e, L, E] = globalridge(h, Y, l, options, U) Calculates the best global ridge regression parameter (l)

More information

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists 3,500 108,000 1.7 M Open access books available International authors and editors Downloads Our

More information

OMR Sheet Recognition

OMR Sheet Recognition International Journal of Information & Computation Technology. ISSN 0974-2239 Volume 8, Number 1 (2018), pp. 11-32 International Research Publications House http://www. irphouse.com OMR Sheet Recognition

More information

Ear Recognition. By: Zeyangyi Wang

Ear Recognition. By: Zeyangyi Wang Ear Recognition By: Zeyangyi Wang Ear Recognition By: Zeyangyi Wang Online: < http://cnx.org/content/col11604/1.3/ > C O N N E X I O N S Rice University, Houston, Texas This selection and arrangement

More information

GUI Signal Analysis and Filtering Design

GUI Signal Analysis and Filtering Design i GUI Signal Analysis and Filtering Design Axel Daniela Campero Vega, Electrical Engineering Project Advisor: Dr. Dick Blandford April 26, 2018 Evansville, Indiana ii Acknowledgements I want to thank Dr.

More information

Akkad Bakad Bambai Bo

Akkad Bakad Bambai Bo Akkad Bakad Bambai Bo The Josephus Problem Shivam Sharma, Rajat Saini and Natasha Sharma Cluster Innovation Center, University of Delhi Abstract We aim to give explanation of the recursive formula for

More information

COMPLETELY AUTOMATED PUBLIC TURING TEST TO TELL COMPUTERS AND HUMANS APART

COMPLETELY AUTOMATED PUBLIC TURING TEST TO TELL COMPUTERS AND HUMANS APART COMPLETELY AUTOMATED PUBLIC TURING TEST TO TELL COMPUTERS AND HUMANS APART 1 Varjith Anchuri, 2 K.Hanuman Krishna, 3 M.Gopi Chand, 4 S.Rishi, UG Scholar Dept Of CSE, SRM University,Chennai. Abstract A

More information

A NEW MACHINING COST CALCULATOR (MC 2 )

A NEW MACHINING COST CALCULATOR (MC 2 ) A NEW MACHINING COST CALCULATOR (MC 2 ) By MATHEW RUSSELL JOHNSON A THESIS PRESENTED TO THE GRADUATE SCHOOL OF THE UNIVERSITY OF FLORIDA IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF MASTER

More information

Main Form visual Studio

Main Form visual Studio Main Form visual Studio using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;

More information

Lithium-Ion Battery Data. Management

Lithium-Ion Battery Data. Management Lithium-Ion Battery Data Management Frank Ferrato Dr. Jung-Hyun Kim April 2018 Abstract: Lithium Ion Battery research is growing due to the need for renewable resources. Since the amount of research is

More information

Implementation of a Motion Detection System

Implementation of a Motion Detection System Implementation of a Motion Detection System Asif Ansari 1, T.C.Manjunath (Ph.D., IIT Bombay) 2, C.Ardil 3 Abstract In today s competitive environment, the security concerns have grown tremously. In the

More information

Solving Sudoku with MATLAB

Solving Sudoku with MATLAB Solving Sudoku with MATLAB Raluca Marinescu Andrea Garcia Ivan Castro Eduard Paul Enoiu Mälardalen University, Västerås, Sweden {rmu09001, aga09001, ico09002, eeu09001}@student.mdh.se March 25, 2011 Abstract

More information

.., 7. References. [ 1] 1 mage Analysis and Mathematical Morphology:J.Serra. [2] Erosion, dilation and related operators,by Mariusz Jankowski

.., 7. References. [ 1] 1 mage Analysis and Mathematical Morphology:J.Serra. [2] Erosion, dilation and related operators,by Mariusz Jankowski 7. References [ 1] 1 mage Analysis and Mathematical Morphology:J.Serra [2] Erosion, dilation and related operators,by Mariusz Jankowski [3] Morphological Image Processing by Ranga Rodrigo [4] Application

More information

Contents INTERFACING MATLAB WITH EMBEDDED SYSTEMS

Contents INTERFACING MATLAB WITH EMBEDDED SYSTEMS Contents MATLAB INTRODUCTION:... 1 Why it is useful for prototyping AI projects??... 2 Using MATLAB as a calculator:... 3 How to use conditions... 8 Serial/Parallel communication:... 9 Color Detection

More information

Airfoil Boundary Layer Separation Prediction

Airfoil Boundary Layer Separation Prediction Airfoil Boundary Layer Separation Prediction A project present to The Faculty of the Department of Aerospace Engineering San Jose State University in partial fulfillment of the requirements for the degree

More information

Parallel-connected solar arrays

Parallel-connected solar arrays Scholars' Mine Masters Theses Student Research & Creative Works Spring 2013 Parallel-connected solar arrays Majed Meshal Alabbass Follow this and additional works at: http://scholarsmine.mst.edu/masters_theses

More information

MEASURING INTERFACIAL TENSION WITH THE PENDANT DROP METHOD

MEASURING INTERFACIAL TENSION WITH THE PENDANT DROP METHOD MEASURING INTERFACIAL TENSION WITH THE PENDANT DROP METHOD A Thesis Presented to The Academic Faculty by Kevin K. Mohan-Nair In Partial Fulfillment of the Requirements for the Degree Bachelor of Science

More information

LOK-Viewer : Graphical Interface Application for Geomagnetic Data in Observatory Geomagnetic Lombok

LOK-Viewer : Graphical Interface Application for Geomagnetic Data in Observatory Geomagnetic Lombok LOK-Viewer : Graphical Interface Application for Geomagnetic Data in Observatory Geomagnetic Lombok Giri W. Wiriasto, Teti Zubaidah, Bulkis Kanata Electrical Engineering Dept. Mataram University Lombok,

More information

LISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara

LISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara A-1 LISTING PROGRAM mainform.vb Imports System.IO Public Class mainform Private Sub mainform_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load enkripsirb.checked = True

More information

PROGRAMMING IN MATLAB

PROGRAMMING IN MATLAB PROGRAMMING IN MATLAB Rohan D sa Rafael Love Todd Page OBJECTIVE: This document gives an overview of a few aspects related to programming in Matlab. With the help of a sample program, it goes through some

More information

ALGORITHMS AND INTERFACE FOR OCEAN ACOUSTIC RAY-TRACING (Developed in MATLAB)

ALGORITHMS AND INTERFACE FOR OCEAN ACOUSTIC RAY-TRACING (Developed in MATLAB) ALGORITHMS AND INTERFACE FOR OCEAN ACOUSTIC RAY-TRACING (Developed in MATLAB) Technical Report No. NIO/TR 09/005 T.V.Ramana Murty M.M.Malleswara Rao S.Surya Prakash P.Chandramouli K.S.R.Murthy Regional

More information

IMAGE STEGANOGRAPHY USING DISCRETE COSINE TRNASFORM ALGORITHM

IMAGE STEGANOGRAPHY USING DISCRETE COSINE TRNASFORM ALGORITHM RCC Institute of Information Technology Canal South Road, Beliaghata, Kolkata 700 015 [Affiliated to West Bengal University of Technology] IMAGE STEGANOGRAPHY USING DISCRETE COSINE TRNASFORM ALGORITHM

More information

TREBALL FINAL DE GRAU

TREBALL FINAL DE GRAU Estudi del procés constructiu de ponts atirantats construïts sobre suports provisionals. ANNEXOS Treball realitzat per: Joan Fraile Diana Dirigit per: José Turmo Coderque Jose Antonio Lozano Galant Grau

More information

Accepted by... John H. Lienhard V

Accepted by... John H. Lienhard V The Understanding, Characterization, and Implementation of a SICK LMS-291 Laser Scanner for Use in an Experimental Environment by Marcos Berrios Submitted to the Department of Mechanical Engineering in

More information

LISTING PROGRAM. a = b; b = c; c = a + b; } fibs.reverse(); for (int i = 0; i < fibs.count; i++) { if (n >= fibs[i]) { n = n - fibs[i];

LISTING PROGRAM. a = b; b = c; c = a + b; } fibs.reverse(); for (int i = 0; i < fibs.count; i++) { if (n >= fibs[i]) { n = n - fibs[i]; A-1 A LISTING PROGRAM 1. Fibonacci Code //membuat fungsi Fibonacci Code public static String GetFibonacciCode(int n) { StringBuilder fib = new StringBuilder("1"); int a, b, c; List fibs = new List();

More information

Real-Time IIR Digital Filters

Real-Time IIR Digital Filters Real-Time IIR Digital Filters Chapter 8 Introduction Infinite impulse response (IIR) filter design has its roots in traditional analog filter design. One of the main issues in IIR digital filter design

More information

UNIVERSITÀ DEGLI STUDI DI PADOVA

UNIVERSITÀ DEGLI STUDI DI PADOVA UNIVERSITÀ DEGLI STUDI DI PADOVA FACOLTÀ DI INGEGNERIA CORSO DI LAUREA IN INGEGNERIA BIOMEDICA DESIGN OF NEUROPHYSIOLOGICAL SIGNAL ANAYSIS SOFTWARE GIACOMO BASSETTO SUPERVISOR: PROFESSOR STEFANO VASSANELLI

More information

Keywords: Learning automata, Vertex multicoloring.

Keywords: Learning automata, Vertex multicoloring. ISSN XXXX XXXX 2018 IJESC Research Article Volume 8 Issue No.4 Scheduling Algorithm for High Density MIMO Channels C.Elayaraja 1, P.Manju 2, I.Parsana Begam 3 Associate Professor 1, Student 2, 3 Department

More information

GENDER ESTIMATION BASED ON FACIAL IMAGE AZLIN BT YAJID UNIVERSITI TEKNOLOGI MALAYSIA

GENDER ESTIMATION BASED ON FACIAL IMAGE AZLIN BT YAJID UNIVERSITI TEKNOLOGI MALAYSIA GENDER ESTIMATION BASED ON FACIAL IMAGE AZLIN BT YAJID UNIVERSITI TEKNOLOGI MALAYSIA PSZ 19:16 (PIND. 1/97) UNIVERSITI TEKNOLOGI MALAYSIA BORANG PENGESAHAN STATUS TESIS JUDUL: GENDER ESTIMATION BASED ON

More information

Listing Progam. Universitas Sumatera Utara

Listing Progam. Universitas Sumatera Utara 60 Listing Progam Listing Program Tabel Index

More information

1 The Options and Structures in the Neural Net

1 The Options and Structures in the Neural Net 1 The Options and Structures in the Neural Net These notes are broken into several parts to give you one place to look for the most salient features of a neural network. 1.1 Initialize the Neural Network

More information

Design of Automated Digital Eye Palpation Exam for Intraocular Pressure Measurement

Design of Automated Digital Eye Palpation Exam for Intraocular Pressure Measurement Design of Automated Digital Eye Palpation Exam for Intraocular Pressure Measurement Item Type text; Electronic Thesis Authors Luce, Alexander Vallejo Publisher The University of Arizona. Rights Copyright

More information

Sandia National Laboratories: Implementation of and Experimenting with a Clustering Tool

Sandia National Laboratories: Implementation of and Experimenting with a Clustering Tool Sandia National Laboratories: Implementation of and Experimenting with a Clustering Tool Team: Avani Gadani, Daniel Lowd, Brian Roney, Eric Wu Harvey Mudd College Dr. Belinda Thom (Advisor) Dr. Kevin Boyack

More information

LISTING PROGRAM. 1. Module SkripsiUmri.py. import sys, operator, codecs, time. class Timer(object): def init (self): self.t1= time.

LISTING PROGRAM. 1. Module SkripsiUmri.py. import sys, operator, codecs, time. class Timer(object): def init (self): self.t1= time. A1 LISTING PROGRAM 1. Module SkripsiUmri.py import sys, operator, codecs, time class Timer(object): def init (self): self.t1= time.time() def getelapsedltime(self): # gets total elapsed from class initialsation

More information

LAMPIRAN A: LISTING PROGRAM

LAMPIRAN A: LISTING PROGRAM A-1 LAMPIRAN A: LISTING PROGRAM 1. Latih.m input = xlsread('ayam1.xlsx', 'Sheet1', 'B2:P49'); %memasukkan input dari excel file Ayam, sheet Sheet1, baris kolom 'B2:BJ17' input= input'; %transpose input

More information

Blind to Change. More on Graphical User Interfaces. Exploring change blindness

Blind to Change. More on Graphical User Interfaces. Exploring change blindness Blind to Change More on Graphical User Interfaces CS112 Scientific Computation Department of Computer Science Wellesley College Exploring change blindness The human visual system can be blind to changes

More information

LAMPIRAN A LISTING PROGRAM

LAMPIRAN A LISTING PROGRAM A-1 LAMPIRAN A LISTING PROGRAM FUNGSI public void StopWatchStart() stopwatch.reset(); stopwatch.start(); Cursor.Current = Cursors.WaitCursor; txtlog.text = ""; public void StopWatchStop(string Title) stopwatch.stop();

More information

Special Topics II: Graphical User Interfaces (GUIs)

Special Topics II: Graphical User Interfaces (GUIs) Special Topics II: Graphical User Interfaces (GUIs) December 8, 2011 Structures Structures (structs, for short) are a way of managing and storing data in most programming languages, including MATLAB. Assuming

More information

LAMPIRAN A : LISTING PROGRAM

LAMPIRAN A : LISTING PROGRAM LAMPIRAN A : LISTING PROGRAM 1. Form Utama (Cover) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text;

More information

Lampiran 2 MASTER TABEL

Lampiran 2 MASTER TABEL 64 Lampiran 2 MASTER TABEL No. No. Responden Umur Pendidikan Pekerjaan Paritas Kanker 1 427363 35 S1 PNS 4 Tidak 2 504024 36 SMA IRT 4 Tidak 3 500316 35 SMA IRT 5 Tidak 4 504014 35 SMA PNS 1 Tidak 5 447158

More information

1 Lab 3, Simulation of crank-piston system

1 Lab 3, Simulation of crank-piston system 1 Lab 3, Simulation of crank-piston system 1.1 Problem description Simulation 3 Slider-Crank Mechanism with a Piston In your text, the slider-crank kinematic mechanism is discussed and equations of motion

More information

MATLAB. Creating Graphical User Interfaces Version 7. The Language of Technical Computing

MATLAB. Creating Graphical User Interfaces Version 7. The Language of Technical Computing MATLAB The Language of Technical Computing Note This revision of Creating Graphical User Interfaces, issued May 2006, adds three new chapters that provide more information for creating GUIs programmatically.

More information

Chapter 6 User-Defined Functions. dr.dcd.h CS 101 /SJC 5th Edition 1

Chapter 6 User-Defined Functions. dr.dcd.h CS 101 /SJC 5th Edition 1 Chapter 6 User-Defined Functions dr.dcd.h CS 101 /SJC 5th Edition 1 MATLAB Functions M-files are collections of MATLAB statements that stored in a file, called a script file. Script files share the command

More information

LAMPIRAN A : LISTING PROGRAM

LAMPIRAN A : LISTING PROGRAM 46 LAMPIRAN A : LISTING PROGRAM 1. Mainform /* * Created by SharpDevelop. * User: User7 * Date: 28/09/2015 * Time: 9:38 * * To change this template use Tools Options Coding Edit Standard Headers. */ using

More information

Computational Methods of Scientific Programming

Computational Methods of Scientific Programming 12.010 Computational Methods of Scientific Programming Lecturers Thomas A Herring, Jim Elliot, Chris Hill, Summary of Today s class We will look at Matlab: History Getting help Variable definitions and

More information

Gdansk University of Technology Faculty of Electrical and Control Engineering Department of Control Systems Engineering

Gdansk University of Technology Faculty of Electrical and Control Engineering Department of Control Systems Engineering Gdansk University of Technology Faculty of Electrical and Control Engineering Department of Control Systems Engineering Artificial Intelligence Methods Neuron, neural layer, neural netorks - surface of

More information

A-1 LISTING PROGRAM. 1. Form1.cs. Universitas Sumatera Utara

A-1 LISTING PROGRAM. 1. Form1.cs. Universitas Sumatera Utara A-1 LISTING PROGRAM 1. Form1.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IronPython.Hosting; using Microsoft.Scripting;

More information

Flow Control and Functions

Flow Control and Functions Flow Control and Functions Script files If's and For's Basics of writing functions Checking input arguments Variable input arguments Output arguments Documenting functions Profiling and Debugging Introduction

More information

LISTING CODE A-1. Indo_to_jawa_Fragments.java. package studio.arti.kamusjawaindonesia;

LISTING CODE A-1. Indo_to_jawa_Fragments.java. package studio.arti.kamusjawaindonesia; LISTING CODE A-1 Indo_to_jawa_Fragments.java package studio.arti.kamusjawaindonesia; import android.content.dialoginterface; import android.database.cursor; import android.database.sqlite.sqlitedatabase;

More information

Flow Control. Spring Flow Control Spring / 26

Flow Control. Spring Flow Control Spring / 26 Flow Control Spring 2019 Flow Control Spring 2019 1 / 26 Relational Expressions Conditions in if statements use expressions that are conceptually either true or false. These expressions are called relational

More information

Matlab for Engineers

Matlab for Engineers Matlab for Engineers Alistair Johnson 31st May 2012 Centre for Doctoral Training in Healthcare Innovation Institute of Biomedical Engineering Department of Engineering Science University of Oxford Supported

More information

Interactive Programs

Interactive Programs Interactive Programs Graphical User Interfaces CS112 Scientific Computation Department of Computer Science Wellesley College Properties of graphics objects All plotting and graphics functions create graphic

More information

Rev. 1.5 (Preliminary)

Rev. 1.5 (Preliminary) Part No. Description Version 2.0 Documentation Rev. 1.5 (Preliminary) Vuolas Electronics Oy Ltd. Kunnansarka 2 FIN-37150 Nokia, Finland Tel. +358 (0)3 342 6900 Fax +358 (0)3 342 5800 e-mail: vuolas@vuolas.com

More information

Ultraplatjoslas radaru izmantošana automašīnu skaitīšanai

Ultraplatjoslas radaru izmantošana automašīnu skaitīšanai Projekts: Valsts pētījumu programmas SOPHIS Projekts Nr.4. Tehnoloģijas drošai un uzticamai gudrajai pilsētai Ultraplatjoslas radaru izmantošana automašīnu skaitīšanai Tehnoloģijas lietošanas apraksts

More information

COMS 3101 Programming Languages: MATLAB. Lecture 2

COMS 3101 Programming Languages: MATLAB. Lecture 2 COMS 3101 Programming Languages: MATLAB Lecture 2 Fall 2013 Instructor: Ilia Vovsha hbp://www.cs.columbia.edu/~vovsha/coms3101/matlab Lecture Outline Quick review of array manipulanon Control flow Simple

More information

Using the NNET Toolbox

Using the NNET Toolbox CS 333 Neural Networks Spring Quarter 2002-2003 Dr. Asim Karim Basics of the Neural Networks Toolbox 4.0.1 MATLAB 6.1 includes in its collection of toolboxes a comprehensive API for developing neural networks.

More information

LISTING PROGRAM. void KOMPRESIToolStripMenuItemClick(object sender, EventArgs e) { Kompresi k = new Kompresi(); k.show(); this.

LISTING PROGRAM. void KOMPRESIToolStripMenuItemClick(object sender, EventArgs e) { Kompresi k = new Kompresi(); k.show(); this. A - 1 LISTING PROGRAM 1. Form Menu Utama using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace KompresiCitra / / Description of MainForm.

More information

10 M-File Programming

10 M-File Programming MATLAB Programming: A Quick Start Files that contain MATLAB language code are called M-files. M-files can be functions that accept arguments and produce output, or they can be scripts that execute a series

More information

1 >> Lecture 3 2 >> 3 >> -- Functions 4 >> Zheng-Liang Lu 169 / 221

1 >> Lecture 3 2 >> 3 >> -- Functions 4 >> Zheng-Liang Lu 169 / 221 1 >> Lecture 3 2 >> 3 >> -- Functions 4 >> Zheng-Liang Lu 169 / 221 Functions Recall that an algorithm is a feasible solution to the specific problem. 1 A function is a piece of computer code that accepts

More information

1 >> Lecture 3 2 >> 3 >> -- Functions 4 >> Zheng-Liang Lu 172 / 225

1 >> Lecture 3 2 >> 3 >> -- Functions 4 >> Zheng-Liang Lu 172 / 225 1 >> Lecture 3 2 >> 3 >> -- Functions 4 >> Zheng-Liang Lu 172 / 225 Functions The first thing of the design of algorithms is to divide and conquer. A large and complex problem would be solved by couples

More information

W1005 Intro to CS and Programming in MATLAB. Data Structures. Fall 2014 Instructor: Ilia Vovsha. hep://

W1005 Intro to CS and Programming in MATLAB. Data Structures. Fall 2014 Instructor: Ilia Vovsha. hep:// W1005 Intro to CS and Programming in MATLAB Data Structures Fall 2014 Instructor: Ilia Vovsha hep://www.cs.columbia.edu/~vovsha/w1005 Outline Cell arrays FuncNons with variable arguments Structure arrays

More information

Performance Evaluation of Artificial Neural Networks for Spatial Data Analysis

Performance Evaluation of Artificial Neural Networks for Spatial Data Analysis Performance Evaluation of Artificial Neural Networks for Spatial Data Analysis Akram A. Moustafa 1*, Ziad A. Alqadi 2 and Eyad A. Shahroury 3 1 Department of Computer Science Al Al-Bayt University P.O.

More information

MISIS Tutorial. I. Introduction...2 II. Tool presentation...2 III. Load files...3 a) Create a project by loading BAM files...3

MISIS Tutorial. I. Introduction...2 II. Tool presentation...2 III. Load files...3 a) Create a project by loading BAM files...3 MISIS Tutorial Table of Contents I. Introduction...2 II. Tool presentation...2 III. Load files...3 a) Create a project by loading BAM files...3 b) Load the Project...5 c) Remove the project...5 d) Load

More information

MATLAB for the Sciences

MATLAB for the Sciences Error Checking,, and MATLAB Movies January 26, 2009 Making Sure Things Work Correctly All through each program we ve assumed that inputs are of a certain type and dimension. What if someone stumbles upon

More information

Asst. Prof. Sandeep Shrivastava M. Tech Scholar Assistant Professor

Asst. Prof. Sandeep Shrivastava M. Tech Scholar Assistant Professor Volume 3, Issue 10, October 2013 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Performance

More information

Graphical LCD Display Datasheet EB

Graphical LCD Display Datasheet EB Graphical LCD Display Datasheet EB043-00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 6 4. Testing this product... 7 5. Circuit description... 8 Appendix 1 Circuit

More information

Statistical & Data Analysis Using Neural Network

Statistical & Data Analysis Using Neural Network Statistical & Data Analysis Using Neural TechSource Systems Sdn. Bhd. Course Outline:. Neural Concepts a) Introduction b) Simple neuron model c) MATLAB representation of neural network 2. a) Perceptrons

More information

Updating Your Local Program Webpage

Updating Your Local Program Webpage I. Go to www.soor.org Updating Your Local Program Webpage II. III. IV. On the top right hand side of the home page of www.soor.org click on LPC LOGIN. Type in your Username and Password, then click the

More information

ALGORITHMS FOR INITIALIZATION OF NEURAL NETWORK WEIGHTS

ALGORITHMS FOR INITIALIZATION OF NEURAL NETWORK WEIGHTS ALGORITHMS FOR INITIALIZATION OF NEURAL NETWORK WEIGHTS A. Pavelka and A. Procházka Institute of Chemical Technology, Department of Computing and Control Engineering Abstract The paper is devoted to the

More information

Technical Info. Installation instruction for GPRS Modem in SILVERBALL Beetle and Beetle PRO

Technical Info. Installation instruction for GPRS Modem in SILVERBALL Beetle and Beetle PRO Technical Info Installation instruction for GPRS Modem in SILVERBALL Beetle and Beetle PRO Installation instruction for GPRS Modem in SILVERBALL Beetle und Beetle PRO In order to operate the machine with

More information

ANN training the analysis of the selected procedures in Matlab environment

ANN training the analysis of the selected procedures in Matlab environment ANN training the analysis of the selected procedures in Matlab environment Jacek Bartman, Zbigniew Gomółka, Bogusław Twaróg University of Rzeszow, Department of Computer Engineering, 35-310 Rzeszow, Pigonia

More information

ANALYSIS OF LABOR EMPLOYMENT ASSESMENT ON PRODUCTION MACHINE TO MINIMIZE TIME PRODUCTION

ANALYSIS OF LABOR EMPLOYMENT ASSESMENT ON PRODUCTION MACHINE TO MINIMIZE TIME PRODUCTION ANALYSIS OF LABOR EMPLOYMENT ASSESMENT ON PRODUCTION MACHINE TO MINIMIZE TIME PRODUCTION Tri Hernawati, Suliawati *, and Vita Sari Gumay 2 Industrial Engineering, Faculty of Engineering Islamic University

More information

Interfacing to MATLAB. You can download the interface developed in this tutorial. It exists as a collection of 3 MATLAB files.

Interfacing to MATLAB. You can download the interface developed in this tutorial. It exists as a collection of 3 MATLAB files. Interfacing t MATLAB Overview: Getting Started Basic Tutrial Interfacing with OCX Installatin GUI with MATLAB's GUIDE First Buttn & Image Mre ActiveX Cntrls Exting the GUI Advanced Tutrial MATLAB Cntrls

More information

NEURAL NETWORK FOR PLC

NEURAL NETWORK FOR PLC NEURAL NETWORK FOR PLC L. Körösi, J. Paulusová Institute of Robotics and Cybernetics, Slovak University of Technology, Faculty of Electrical Engineering and Information Technology Abstract The aim of the

More information

ANEXO G. % Se calcula el valor de la señal cuando a llegado % al 28.3% y 63.2% de su de su cambio total.

ANEXO G. % Se calcula el valor de la señal cuando a llegado % al 28.3% y 63.2% de su de su cambio total. ANEXO G CÓDIGOS DE LOS PROGRAMAS DE MATLAB function [Kp,tao,to]=ajuste_fit3(c,t,dm) % Ajuste de una curva por el mètodo del FIT3 % A la función se le pasan los valores del tiempo, la salida y el cambio

More information

The Language of Technical Computing. Computation. Visualization. Programming. Creating Graphical User Interfaces Version 1

The Language of Technical Computing. Computation. Visualization. Programming. Creating Graphical User Interfaces Version 1 MATLAB The Language of Technical Computing Computation Visualization Programming Creating Graphical User Interfaces Version 1 How to Contact The MathWorks: 508-647-7000 Phone 508-647-7001 Fax The MathWorks,

More information

SECTION 2: PROGRAMMING WITH MATLAB. MAE 4020/5020 Numerical Methods with MATLAB

SECTION 2: PROGRAMMING WITH MATLAB. MAE 4020/5020 Numerical Methods with MATLAB SECTION 2: PROGRAMMING WITH MATLAB MAE 4020/5020 Numerical Methods with MATLAB 2 Functions and M Files M Files 3 Script file so called due to.m filename extension Contains a series of MATLAB commands The

More information

Firmware Update Procedure for the 3 rd Generation Rack-Mount RDMS Telemetry Receiver

Firmware Update Procedure for the 3 rd Generation Rack-Mount RDMS Telemetry Receiver ISO 9001:2015 Certified Firmware Update Procedure for the 3 rd Generation Rack-Mount RDMS Telemetry Receiver Quasonix, Inc. 6025 Schumacher Park Dr. West Chester, OH 45069 04 October 2018 Revision 1.1.2

More information

ECE 662 Hw2 4/1/2008

ECE 662 Hw2 4/1/2008 ECE 662 Hw2 4/1/28 1. Fisher s Linear Discriminant Analysis n 1 We would like to find a projection from R to R, such that we can maximize the separation between 2 classes. We define the cost function,

More information

Analysis of labor employment assessment on production machine to minimize time production

Analysis of labor employment assessment on production machine to minimize time production IOP Conference Series: Earth and Environmental Science PAPER OPEN ACCESS Analysis of labor employment assessment on production machine to minimize time production To cite this article: Tri Hernawati et

More information

Using GARP to Get and Save an Image With Cloud Top Temperatures Dr. Brad Muller Embry-Riddle Aeronautical University

Using GARP to Get and Save an Image With Cloud Top Temperatures Dr. Brad Muller Embry-Riddle Aeronautical University Using GARP to Get and Save an Image With Cloud Top Temperatures Dr. Brad Muller Embry-Riddle Aeronautical University Saving a GARP image that includes the information bar at the bottom takes a very specialized

More information

Where to Upload The address to upload images for Tri-Club is: Tri-Club

Where to Upload The address to upload images for Tri-Club is: Tri-Club Where to Upload The address to upload images for Tri-Club is: Tri-Club Once you get to this page, you will see the following: If you have an account on Visual Pursuits that was created before our July

More information