LAMPIRAN A LISTING PROGRAM

  

LAMPIRAN A

LISTING PROGRAM

1.

Form Utama function varargout = utama(varargin)

  % UTAMA M-file for utama.fig % UTAMA, by itself, creates a new UTAMA or raises the existing % singleton*.

  % % H = UTAMA returns the handle to a new UTAMA or the handle to % the existing singleton*.

  % % UTAMẮCALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in UTAMA.M with the given input arguments.

  % % UTAMẮPropertý,'Valué,...) creates a new UTAMA or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before utama_OpeningFcn gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to utama_OpeningFcn via varargin. end % End initialization code - DO NOT EDIT % --- Executes just before utama is made visible. function utama_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 utama (see VARARGIN) % Choose default command line output for utama handles.output = hObject; % Update handles structure guidata(hObject, handles); % UIWAIT makes utama wait for user response (see UIRESUME) % uiwait(handles.figure1); % --- Outputs from this function are returned to the command line. close case 'no' %no action end

  2. Form Aplikasi function varargout = aplikasi(varargin) % APLIKASI M-file for aplikasi.fig % APLIKASI, by itself, creates a new APLIKASI or raises the existing % singleton*. % % H = APLIKASI returns the handle to a new APLIKASI or the handle to % the existing singleton*. % % APLIKASI('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in APLIKASI.M with the given input arguments. % % APLIKASI('Property','Value',...) creates a new APLIKASI or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before aplikasi_OpeningFcn gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to aplikasi_OpeningFcn via varargin. end % End initialization code - DO NOT EDIT % --- Executes just before aplikasi is made visible. function aplikasi_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 aplikasi (see VARARGIN) % Choose default command line output for aplikasi handles.output = hObject; % Update handles structure guidata(hObject, handles); % UIWAIT makes aplikasi wait for user response (see UIRESUME) % uiwait(handles.figure1); % --- Outputs from this function are returned to the command line.

  % hObject handle to btn_test (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) citra = double(handles.citra); [b k] = size(citra); for x=1:b for y=1:k if citra(x,y)<128 citra(x,y)=0; elseif citra(x,y)>=128 citra(x,y)=1; end end end p = citra; p = [reshape(p,1089,1)]; net1 = newp(minmax(p),1); net1.IW{1,1} = textread('bobot1.txt'); net1.b{1} = textread('bias1.txt'); net2 = newp(minmax(p),1); net2.IW{1,1} = textread('bobot2.txt'); net2.b{1} = textread('bias2.txt'); net11.b{1} = textread('bias11.txt'); net12 = newp(minmax(p),1); net12.IW{1,1} = textread('bobot12.txt'); net12.b{1} = textread('bias12.txt'); net13 = newp(minmax(p),1); net13.IW{1,1} = textread('bobot13.txt'); net13.b{1} = textread('bias13.txt'); net14 = newp(minmax(p),1); net14.IW{1,1} = textread('bobot14.txt'); net14.b{1} = textread('bias14.txt'); net15 = newp(minmax(p),1); net15.IW{1,1} = textread('bobot15.txt'); net15.b{1} = textread('bias15.txt'); net16 = newp(minmax(p),1); net16.IW{1,1} = textread('bobot16.txt'); net16.b{1} = textread('bias16.txt'); y1 = sim(net1,p); y2 = sim(net2,p); y3 = sim(net3,p); y4 = sim(net4,p); y5 = sim(net5,p); y6 = sim(net6,p); y7 = sim(net7,p);

elseif(y1==0 && y2==0 && y3==0 && y4==0 && y5==1 && y6==0 && y7==0 && y8==0 && y9==0 && y10==0 && y11==0 && y12==0 && y13==0 && y14==0 && y15==0 && y16==0) hasil = 'Universitas Hasanudin Makassar'; elseif(y1==0 && y2==0 && y3==0 && y4==0 && y5==0 && y6==1 && y7==0 && y8==0 && y9==0 && y10==0 && y11==0 && y12==0 && y13==0 && y14==0 && y15==0 && y16==0) hasil = 'Universitas Andalas Padang'; elseif(y1==0 && y2==0 && y3==0 && y4==0 && y5==0 && y6==0 && y7==1 && y8==0 && y9==0 && y10==0 && y11==0 && y12==0 && y13==0 && y14==0 && y15==0 && y16==0) hasil = 'Universitas Padjajaran Bandung'; elseif(y1==0 && y2==0 && y3==0 && y4==0 && y5==0 && y6==0 && y7==0 && y8==1 && y9==0 && y10==0 && y11==0 && y12==0 && y13==0 && y14==0 && y15==0 && y16==0) hasil = 'Universitas Diponegoro Semarang'; elseif(y1==0 && y2==0 && y3==0 && y4==0 && y5==0 && y6==0 && y7==0 && y8==0 && y9==1 && y10==0 && y11==0 && y12==0 && y13==0 && y14==0 && y15==0 && y16==0) hasil = 'Universitas Sriwijaya Palembang'; elseif(y1==0 && y2==0 && y3==0 && y4==0 && y5==0 && y6==0 && y7==0 && y8==0 && y9==0 && y10==1 && y11==0 && y12==0 && y13==0 && y14==0 && y15==0 && y16==0)

hasil = 'ERROR'; end set(handles.ed_hasil,'String',hasil); % --- Executes on button press in btn_reset. function btn_reset_Callback(hObject, eventdata, handles) % hObject handle to btn_reset (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) set(handles.ed_hasil,'String',''); % --- Executes on button press in btn_tutup. function btn_tutup_Callback(hObject, eventdata, handles) % hObject handle to btn_tutup (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) close utama

  % existing singleton*. % % H = TUTUP returns the handle to a new TUTUP or the handle to % the existing singleton*.

  % % TUTUP('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in TUTUP.M with the given input arguments.

  % % TUTUP('Property','Value',...) creates a new TUTUP or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before tutup_OpeningFcn gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to tutup_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 tutup % Last Modified by GUIDE v2.5 24-May-2012 19:16:25

  % Choose default command line output for tutup handles.output = 'Yes'; % Update handles structure guidata(hObject, handles); % Insert custom Title and Text if specified by the user % Hint: when choosing keywords, be sure they are not easily confused % with existing figure properties. See the output of set(figure) for % a list of figure properties. if(nargin > 3) for index = 1:2:(nargin-3), if nargin-3==index, break, end switch lower(varargin{index}) case 'title' set(hObject, 'Name', varargin{index+1}); case 'string' set(handles.text1, 'String', varargin{index+1}); end end end

  set(hObject, 'Units', OldUnits); % Show a question icon from dialogicons.mat - variables questIconData % and questIconMap load dialogicons.mat IconData=questIconData; questIconMap(256,:) = get(handles.figure1, 'Color'); IconCMap=questIconMap; Img=image(IconData, 'Parent', handles.axes1); set(handles.figure1, 'Colormap', IconCMap); set(handles.axes1, ... 'Visible', 'off', ... 'YDir' , 'reverse' , ... 'XLim' , get(Img,'XData'), ... 'YLim' , get(Img,'YData') ... ); % Make the GUI modal set(handles.figure1,'WindowStyle','modal')

  % Use UIRESUME instead of delete because the OutputFcn needs % to get the updated handles structure. uiresume(handles.figure1); % --- Executes on button press in btn_no. function btn_no_Callback(hObject, eventdata, handles) % hObject handle to btn_no (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) handles.output = get(hObject,'String'); % Update handles structure guidata(hObject, handles); % Use UIRESUME instead of delete because the OutputFcn needs % to get the updated handles structure. uiresume(handles.figure1); % --- Executes when user attempts to close figure1. function figure1_CloseRequestFcn(hObject, eventdata, handles) uiresume(handles.figure1); end if isequal(get(hObject,'CurrentKey'),'return') uiresume(handles.figure1); end 4.

File Pelatihan p1 = textread('pattern1.txt'); p1 = reshape(p1,1089,1);

  p2 = textread('pattern2.txt'); p2 = reshape(p2,1089,1); p3 = textread('pattern3.txt'); p3 = reshape(p3,1089,1); p4 = textread('pattern4.txt'); p4 = reshape(p4,1089,1); p5 = textread('pattern5.txt'); p5 = reshape(p5,1089,1); p6 = textread('pattern6.txt'); p6 = reshape(p6,1089,1); p7 = textread('pattern7.txt'); p7 = reshape(p7,1089,1); p8 = textread('pattern8.txt'); p8 = reshape(p8,1089,1); p9 = textread('pattern9.txt'); p9 = reshape(p9,1089,1); p10 = textread('pattern10.txt'); p10 = reshape(p10,1089,1); p11 = textread('pattern11.txt'); p11 = reshape(p11,1089,1); p12 = textread('pattern12.txt'); p12 = reshape(p12,1089,1); p13 = textread('pattern13.txt'); p13 = reshape(p13,1089,1); p14 = textread('pattern14.txt'); p14 = reshape(p14,1089,1); p41 = textread('pattern41.txt'); p41 = reshape(p41,1089,1); p42 = textread('pattern42.txt'); p42 = reshape(p42,1089,1); p43 = textread('pattern43.txt'); p43 = reshape(p43,1089,1); p44 = textread('pattern44.txt'); p44 = reshape(p44,1089,1); p45 = textread('pattern45.txt'); p45 = reshape(p45,1089,1); p46 = textread('pattern46.txt'); p46 = reshape(p46,1089,1); p47 = textread('pattern47.txt'); p47 = reshape(p47,1089,1); p48 = textread('pattern48.txt'); p48 = reshape(p48,1089,1); p49 = textread('pattern49.txt'); p49 = reshape(p49,1089,1); p50 = textread('pattern50.txt'); p50 = reshape(p50,1089,1); p51 = textread('pattern51.txt'); p51 = reshape(p51,1089,1); p52 = textread('pattern52.txt'); p52 = reshape(p52,1089,1); p53 = textread('pattern53.txt'); p53 = reshape(p53,1089,1); p54 = textread('pattern54.txt'); p54 = reshape(p54,1089,1); p55 = textread('pattern55.txt'); p55 = reshape(p55,1089,1); p56 = textread('pattern56.txt'); p56 = reshape(p56,1089,1); p57 = textread('pattern57.txt'); p57 = reshape(p57,1089,1); p58 = textread('pattern58.txt'); p58 = reshape(p58,1089,1); p59 = textread('pattern59.txt'); p59 = reshape(p59,1089,1); p60 = textread('pattern60.txt'); p60 = reshape(p60,1089,1); p61 = textread('pattern61.txt'); p61 = reshape(p61,1089,1); p62 = textread('pattern62.txt'); p62 = reshape(p62,1089,1); p63 = textread('pattern63.txt'); p63 = reshape(p63,1089,1);

p90 = textread('pattern90.txt'); p90 = reshape(p90,1089,1); p91 = textread('pattern91.txt'); p91 = reshape(p91,1089,1); p92 = textread('pattern92.txt'); p92 = reshape(p92,1089,1); p93 = textread('pattern93.txt'); p93 = reshape(p93,1089,1); p94 = textread('pattern94.txt'); p94 = reshape(p94,1089,1); p95 = textread('pattern95.txt'); p95 = reshape(p95,1089,1); p96 = textread('pattern96.txt'); p96 = reshape(p96,1089,1); p97 = textread('pattern97.txt'); p97 = reshape(p97,1089,1); p98 = textread('pattern98.txt'); p98 = reshape(p98,1089,1); p99 = textread('pattern99.txt'); p99 = reshape(p99,1089,1); p100 = textread('pattern100.txt'); p100 = reshape(p100,1089,1); p101 = textread('pattern101.txt'); p101 = reshape(p101,1089,1); p102 = textread('pattern102.txt'); p102 = reshape(p102,1089,1); p103 = textread('pattern103.txt'); p103 = reshape(p103,1089,1); p104 = textread('pattern104.txt'); p104 = reshape(p104,1089,1); p105 = textread('pattern105.txt'); p105 = reshape(p105,1089,1); p106 = textread('pattern106.txt'); p106 = reshape(p106,1089,1); p107 = textread('pattern107.txt'); p107 = reshape(p107,1089,1); p108 = textread('pattern108.txt'); p108 = reshape(p108,1089,1); p109 = textread('pattern109.txt'); p109 = reshape(p109,1089,1); p110 = textread('pattern110.txt'); p110 = reshape(p110,1089,1); p111 = textread('pattern111.txt'); p111 = reshape(p111,1089,1); p112 = textread('pattern112.txt'); p112 = reshape(p112,1089,1);

t1 = [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]; t2 = [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0]; t3 = [0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0]; t4 = [0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0]; t5 = [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0]; t6 = [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0]; t7 = [0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0]; t8 = [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0

net1 = train(net1,p,t1) bobot1 = net1.IW{1,1} dlmwrite('bobot1.txt',bobot1''); bias1 = net1.b{1} dlmwrite('bias1.txt',bias1''); net2 = newp(minmax(p), 1) net2 = train(net2,p,t2) bobot2 = net2.IW{1,1} dlmwrite('bobot2.txt',bobot2''); bias2 = net2.b{1} dlmwrite('bias2.txt',bias2''); net3 = newp(minmax(p), 1) net3 = train(net3,p,t3) bobot3 = net3.IW{1,1} dlmwrite('bobot3.txt',bobot3''); bias3 = net3.b{1} dlmwrite('bias3.txt',bias3''); net4 = newp(minmax(p), 1) net4 = train(net4,p,t4) bobot4 = net4.IW{1,1} dlmwrite('bobot4.txt',bobot4''); bias4 = net4.b{1} dlmwrite('bias4.txt',bias4'');

bobot9 = net9.IW{1,1} dlmwrite('bobot9.txt',bobot9''); bias9 = net9.b{1} dlmwrite('bias9.txt',bias9''); net10 = newp(minmax(p), 1) net10 = train(net10,p,t10) bobot10 = net10.IW{1,1} dlmwrite('bobot10.txt',bobot10''); bias10 = net10.b{1} dlmwrite('bias10.txt',bias10''); net11 = newp(minmax(p), 1) net11 = train(net11,p,t11) bobot11 = net11.IW{1,1} dlmwrite('bobot11.txt',bobot11''); bias11 = net11.b{1} dlmwrite('bias11.txt',bias11''); net12 = newp(minmax(p), 1) net12 = train(net11,p,t12) bobot12 = net12.IW{1,1} dlmwrite('bobot12.txt',bobot12''); bias12 = net12.b{1} dlmwrite('bias12.txt',bias12''); net13 = newp(minmax(p), 1)

  5. File Uji Data Latihan p1 = textread('pattern1.txt'); p1 = reshape(p1,1089,1); p2 = textread('pattern2.txt'); p2 = reshape(p2,1089,1); p3 = textread('pattern3.txt'); p3 = reshape(p3,1089,1); p4 = textread('pattern4.txt'); p4 = reshape(p4,1089,1); p5 = textread('pattern5.txt'); p5 = reshape(p5,1089,1); p6 = textread('pattern6.txt'); p6 = reshape(p6,1089,1); p7 = textread('pattern7.txt'); p7 = reshape(p7,1089,1); p8 = textread('pattern8.txt'); p8 = reshape(p8,1089,1); p9 = textread('pattern9.txt'); p9 = reshape(p9,1089,1); p10 = textread('pattern10.txt'); p10 = reshape(p10,1089,1); p11 = textread('pattern11.txt'); p11 = reshape(p11,1089,1); p12 = textread('pattern12.txt'); p12 = reshape(p12,1089,1); p13 = textread('pattern13.txt'); p13 = reshape(p13,1089,1); p14 = textread('pattern14.txt'); p14 = reshape(p14,1089,1); p15 = textread('pattern15.txt'); p15 = reshape(p15,1089,1); p16 = textread('pattern16.txt'); p16 = reshape(p16,1089,1); p17 = textread('pattern17.txt'); p17 = reshape(p17,1089,1); p18 = textread('pattern18.txt'); p18 = reshape(p18,1089,1); p19 = textread('pattern19.txt'); p19 = reshape(p19,1089,1); p20 = textread('pattern20.txt'); p20 = reshape(p20,1089,1); p21 = textread('pattern21.txt'); p21 = reshape(p21,1089,1); p22 = textread('pattern22.txt'); p22 = reshape(p22,1089,1); p49 = textread('pattern49.txt'); p49 = reshape(p49,1089,1); p50 = textread('pattern50.txt'); p50 = reshape(p50,1089,1); p51 = textread('pattern51.txt'); p51 = reshape(p51,1089,1); p52 = textread('pattern52.txt'); p52 = reshape(p52,1089,1); p53 = textread('pattern53.txt'); p53 = reshape(p53,1089,1); p54 = textread('pattern54.txt'); p54 = reshape(p54,1089,1); p55 = textread('pattern55.txt'); p55 = reshape(p55,1089,1); p56 = textread('pattern56.txt'); p56 = reshape(p56,1089,1); p57 = textread('pattern57.txt'); p57 = reshape(p57,1089,1); p58 = textread('pattern58.txt'); p58 = reshape(p58,1089,1); p59 = textread('pattern59.txt'); p59 = reshape(p59,1089,1); p60 = textread('pattern60.txt'); p60 = reshape(p60,1089,1); p61 = textread('pattern61.txt'); p61 = reshape(p61,1089,1); p62 = textread('pattern62.txt'); p62 = reshape(p62,1089,1); p63 = textread('pattern63.txt'); p63 = reshape(p63,1089,1); p64 = textread('pattern64.txt'); p64 = reshape(p64,1089,1); p65 = textread('pattern65.txt'); p65 = reshape(p65,1089,1); p66 = textread('pattern66.txt'); p66 = reshape(p66,1089,1); p67 = textread('pattern67.txt'); p67 = reshape(p67,1089,1); p68 = textread('pattern68.txt'); p68 = reshape(p68,1089,1); p69 = textread('pattern69.txt'); p69 = reshape(p69,1089,1); p70 = textread('pattern70.txt'); p70 = reshape(p70,1089,1); p71 = textread('pattern71.txt'); p71 = reshape(p71,1089,1);

p98 = textread('pattern98.txt'); p98 = reshape(p98,1089,1); p99 = textread('pattern99.txt'); p99 = reshape(p99,1089,1); p100 = textread('pattern100.txt'); p100 = reshape(p100,1089,1); p101 = textread('pattern101.txt'); p101 = reshape(p101,1089,1); p102 = textread('pattern102.txt'); p102 = reshape(p102,1089,1); p103 = textread('pattern103.txt'); p103 = reshape(p103,1089,1); p104 = textread('pattern104.txt'); p104 = reshape(p104,1089,1); p105 = textread('pattern105.txt'); p105 = reshape(p105,1089,1); p106 = textread('pattern106.txt'); p106 = reshape(p106,1089,1); p107 = textread('pattern107.txt'); p107 = reshape(p107,1089,1); p108 = textread('pattern108.txt'); p108 = reshape(p108,1089,1); p109 = textread('pattern109.txt'); p109 = reshape(p109,1089,1); p110 = textread('pattern110.txt'); p110 = reshape(p110,1089,1); p111 = textread('pattern111.txt'); p111 = reshape(p111,1089,1); p112 = textread('pattern112.txt'); p112 = reshape(p112,1089,1); p113 = textread('pattern113.txt'); p113 = reshape(p113,1089,1); p114 = textread('pattern114.txt'); p114 = reshape(p114,1089,1); p115 = textread('pattern115.txt'); p115 = reshape(p115,1089,1); p116 = textread('pattern116.txt'); p116 = reshape(p116,1089,1); p117 = textread('pattern117.txt'); p117 = reshape(p117,1089,1); p118 = textread('pattern118.txt'); p118 = reshape(p118,1089,1); p119 = textread('pattern119.txt'); p119 = reshape(p119,1089,1); p120 = textread('pattern120.txt'); p120 = reshape(p120,1089,1);

net4.IW{1,1} = textread('bobot4.txt'); net4.b{1} = textread('bias4.txt'); net5 = newp(minmax(p),1); net5.IW{1,1} = textread('bobot5.txt'); net5.b{1} = textread('bias5.txt'); net6 = newp(minmax(p),1); net6.IW{1,1} = textread('bobot6.txt'); net6.b{1} = textread('bias6.txt'); net7 = newp(minmax(p),1); net7.IW{1,1} = textread('bobot7.txt'); net7.b{1} = textread('bias7.txt'); net8 = newp(minmax(p),1); net8.IW{1,1} = textread('bobot8.txt'); net8.b{1} = textread('bias8.txt'); net9 = newp(minmax(p),1); net9.IW{1,1} = textread('bobot9.txt'); net9.b{1} = textread('bias9.txt'); net10 = newp(minmax(p),1); net10.IW{1,1} = textread('bobot10.txt'); net10.b{1} = textread('bias10.txt'); net11 = newp(minmax(p),1); net11.IW{1,1} = textread('bobot11.txt'); net11.b{1} = textread('bias11.txt');

y12 = sim(net12,p) y13 = sim(net13,p) y14 = sim(net14,p) y15 = sim(net15,p) y16 = sim(net16,p)

  LAMPIRAN B GRAFIK HASIL PELATIHAN

  Grafik hasil pelatihan jaringan 1

  Grafik hasil pelatihan jaringan 3

  Grafik hasil pelatihan jaringan 5

  Grafik hasil pelatihan jaringan 7

  Grafik hasil pelatihan jaringan 9

  Grafik hasil pelatihan jaringan 11 Grafik hasil pelatihan jaringan 12

  Grafik hasil pelatihan jaringan 13

  Grafik hasil pelatihan jaringan 15

  LAMPIRAN C HASIL PENGUJIAN 1.

Hasil Pengujian QR Code yang sudah dilatih

  Pattern Gambar Target Output Hasil 1 0 0 0 0 0 0 0 Universitas Gajah Mada

  1 BENAR 0 0 0 0 0 0 0 0 Yogya 0 1 0 0 0 0 0 0 Universitas Indonesia

  2 BENAR 0 0 0 0 0 0 0 0 Jakarta 0 0 1 0 0 0 0 0 Universitas Sumatera

  3 BENAR 0 0 0 0 0 0 0 0 Utara

  0 0 0 0 0 0 0 0 Universitas Sriwijaya

  9 BENAR 1 0 0 0 0 0 0 0 Palembang 0 0 0 0 0 0 0 0 Universitas Lambung

  10 BENAR 0 1 0 0 0 0 0 0 Mangkurat 0 0 0 0 0 0 0 0 Universitas Syiah Kuala

  11 BENAR 0 0 1 0 0 0 0 0 Banda 0 0 0 0 0 0 0 0 Universitas Sam

  12 BENAR 0 0 0 1 0 0 0 0 Ratulangi 0 0 0 0 0 0 0 0 Universitas Udayana

  13 BENAR 0 0 0 0 1 0 0 0 Denpasar

  0 0 0 1 0 0 0 0 Universitas Airlangga

  20 BENAR 0 0 0 0 0 0 0 0 Surabaya 0 0 0 0 1 0 0 0 Universitas Hasanuddin

  21 BENAR 0 0 0 0 0 0 0 0 Makassar 0 0 0 0 0 1 0 0 Universitas Andalas

  22 BENAR 0 0 0 0 0 0 0 0 Padang 0 0 0 0 0 0 1 0 Universitas Padjajaran

  23 BENAR 0 0 0 0 0 0 0 0 Bandung 0 0 0 0 0 0 0 1 Universitas Diponegoro

  24 BENAR 0 0 0 0 0 0 0 0 Semarang

  0 0 0 0 0 0 0 0 Universitas Mulawarman

  31 BENAR 0 0 0 0 0 0 1 0 Samarinda 0 0 0 0 0 0 0 0 Universitas Mataram,

  32 BENAR 0 0 0 0 0 0 0 1 Mataram 1 0 0 0 0 0 0 0 Universitas Gajah Mada

  33 BENAR 0 0 0 0 0 0 0 0 Yogya 0 1 0 0 0 0 0 0 Universitas Indonesia

  34 BENAR 0 0 0 0 0 0 0 0 Jakarta 0 0 1 0 0 0 0 0 Universitas Sumatera

  35 BENAR 0 0 0 0 0 0 0 0 Utara

  0 0 0 0 0 0 0 0 Universitas Lambung

  42 BENAR 0 1 0 0 0 0 0 0 Mangkurat 0 0 0 0 0 0 0 0 Universitas Syiah Kuala

  43 BENAR 0 0 1 0 0 0 0 0 Banda 0 0 0 0 0 0 0 0 Universitas Sam

  44 BENAR 0 0 0 1 0 0 0 0 Ratulangi 0 0 0 0 0 0 0 0 Universitas Udayana

  45 BENAR 0 0 0 0 1 0 0 0 Denpasar 0 0 0 0 0 0 0 0 Universitas Nusa

  46 BENAR 0 0 0 0 0 1 0 0 Cendana

  0 0 0 0 1 0 0 0 Universitas Hasanuddin

  53 BENAR 0 0 0 0 0 0 0 0 Makassar 0 0 0 0 0 1 0 0 Universitas Andalas

  54 BENAR 0 0 0 0 0 0 0 0 Padang 0 0 0 0 0 0 1 0 Universitas Padjajaran

  55 BENAR 0 0 0 0 0 0 0 0 Bandung 0 0 0 0 0 0 0 1 Universitas Diponegoro

  56 BENAR 0 0 0 0 0 0 0 0 Semarang 0 0 0 0 0 0 0 0 Universitas Sriwijaya

  57 BENAR 1 0 0 0 0 0 0 0 Palembang

  0 0 0 0 0 0 0 0 Universitas Mataram,

  64 BENAR 0 0 0 0 0 0 0 1 Mataram 1 0 0 0 0 0 0 0 Universitas Gajah Mada

  65 BENAR 0 0 0 0 0 0 0 0 Yogya 0 1 0 0 0 0 0 0 Universitas Indonesia

  66 BENAR 0 0 0 0 0 0 0 0 Jakarta 0 0 1 0 0 0 0 0 Universitas Sumatera

  67 BENAR 0 0 0 0 0 0 0 0 Utara 0 0 0 1 0 0 0 0 Universitas Airlangga

  68 BENAR 0 0 0 0 0 0 0 0 Surabaya

  0 0 0 0 0 0 0 0 Universitas Syiah Kuala

  75 BENAR 0 0 1 0 0 0 0 0 Banda 0 0 0 0 0 0 0 0 Universitas Sam

  76 BENAR 0 0 0 1 0 0 0 0 Ratulangi 0 0 0 0 0 0 0 0 Universitas Udayana

  77 BENAR 0 0 0 0 1 0 0 0 Denpasar 0 0 0 0 0 0 0 0 Universitas Nusa

  78 BENAR 0 0 0 0 0 1 0 0 Cendana 0 0 0 0 0 0 0 0 Universitas Mulawarman

  79 BENAR 0 0 0 0 0 0 1 0 Samarinda

  0 0 0 0 0 1 0 0 Universitas Andalas

  86 BENAR 0 0 0 0 0 0 0 0 Padang 0 0 0 0 0 0 1 0 Universitas Padjajaran

  87 BENAR 0 0 0 0 0 0 0 0 Bandung 0 0 0 0 0 0 0 1 Universitas Diponegoro

  88 BENAR 0 0 0 0 0 0 0 0 Semarang 0 0 0 0 0 0 0 0 Universitas Sriwijaya

  89 BENAR 1 0 0 0 0 0 0 0 Palembang 0 0 0 0 0 0 0 0 Universitas Lambung

  90 BENAR 0 1 0 0 0 0 0 0 Mangkurat

  1 0 0 0 0 0 0 0 Universitas Gajah Mada

  97 BENAR 0 0 0 0 0 0 0 0 Yogya 0 1 0 0 0 0 0 0 Universitas Indonesia

  98 BENAR 0 0 0 0 0 0 0 0 Jakarta 0 0 1 0 0 0 0 0 Universitas Sumatera

  99 BENAR 0 0 0 0 0 0 0 0 Utara 0 0 0 1 0 0 0 0 Universitas Airlangga

  100 BENAR 0 0 0 0 0 0 0 0 Surabaya

  0 0 0 0 1 0 0 0 Universitas Hasanuddin 101

  BENAR 0 0 0 0 0 0 0 0 Makassar

  0 0 0 0 0 0 0 0 Universitas Sam 108

  BENAR 0 0 0 1 0 0 0 0 Ratulangi 0 0 0 0 0 0 0 0 Universitas Udayana

  109 BENAR 0 0 0 0 1 0 0 0 Denpasar

  0 0 0 0 0 0 0 0 Universitas Nusa 110

  BENAR 0 0 0 0 0 1 0 0 Cendana 0 0 0 0 0 0 0 0 Universitas Mulawarman

  111 BENAR 0 0 0 0 0 0 1 0 Samarinda

  0 0 0 0 0 0 0 0 Universitas Mataram, 112

  BENAR 0 0 0 0 0 0 0 1 Mataram

  0 0 0 0 0 0 1 0 Universitas Padjajaran 119

  BENAR 0 0 0 0 0 0 0 0 Bandung 0 0 0 0 0 0 0 1 Universitas Diponegoro

  120 BENAR 0 0 0 0 0 0 0 0 Semarang

  0 0 0 0 0 0 0 0 Universitas Sriwijaya 121

  BENAR 1 0 0 0 0 0 0 0 Palembang 0 0 0 0 0 0 0 0 Universitas Lambung

  122 BENAR 0 1 0 0 0 0 0 0 Mangkurat

  0 0 0 0 0 0 0 0 Universitas Syiah Kuala 123

  BENAR 0 0 1 0 0 0 0 0 Banda Pattern QR Code Target Output Hasil 1 0 0 0 0 0 0 0 Universitas Gajah Mada

  129 BENAR 0 0 0 0 0 0 0 0 Yogya

  1 0 0 0 0 0 0 0 Universitas Gajah Mada

  130 BENAR 0 0 0 0 0 0 0 0 Yogya

  1 0 0 0 0 0 0 0 Universitas Gajah Mada

  131 BENAR 0 0 0 0 0 0 0 0 Yogya

  1 0 0 0 0 0 0 0 Universitas Gajah Mada

  132 BENAR 0 0 0 0 0 0 0 0 Yogya

  1 0 0 0 0 0 0 0

  0 0 0 1 0 0 0 0 Universitas Airlangga 139

  BENAR 0 0 0 0 0 0 0 0 Surabaya 0 0 0 1 0 0 0 0 Universitas Airlangga

  140 BENAR 0 0 0 0 0 0 0 0 Surabaya

  0 0 0 1 0 0 0 0 Universitas Airlangga 141

  BENAR 0 0 0 0 0 0 0 0 Surabaya 0 0 0 1 0 0 0 0 Universitas Airlangga

  142 BENAR 0 0 0 0 0 0 0 0 Surabaya

  0 0 0 1 0 0 0 0 Universitas Airlangga 143

  BENAR 0 0 0 0 0 0 0 0 Surabaya

  0 0 0 0 0 1 0 0 150 Universitas Andalas Padang BENAR 0 0 0 0 0 0 0 0

  0 0 0 0 0 1 0 0 151 Universitas Andalas Padang BENAR 0 0 0 0 0 0 0 0

  0 0 0 0 0 1 0 0 152 Universitas Andalas Padang BENAR 0 0 0 0 0 0 0 0

  0 0 0 0 0 1 0 0 153 Universitas Andalas Padang BENAR 0 0 0 0 0 0 0 0

  0 0 0 0 0 0 1 0 Universitas Padjajaran 154

  BENAR 0 0 0 0 0 0 0 0 Bandung

  0 0 0 0 0 0 0 1 Universitas Diponegoro 161

  BENAR 0 0 0 0 0 0 0 0 Semarang 0 0 0 0 0 0 0 1 Universitas Diponegoro

  162 BENAR 0 0 0 0 0 0 0 0 Semarang

  0 0 0 0 0 0 0 1 Universitas Diponegoro 163

  BENAR 0 0 0 0 0 0 0 0 Semarang 0 0 0 0 0 0 0 0 Universitas Sriwijaya

  164 BENAR 1 0 0 0 0 0 0 0 Palembang

  0 0 0 0 0 0 0 0 Universitas Sriwijaya 165

  BENAR 1 0 0 0 0 0 0 0 Palembang

  0 0 0 0 0 0 0 0 Universitas Lambung 172

  BENAR 0 1 0 0 0 0 0 0 Mangkurat 0 0 0 0 0 0 0 0 Universitas Lambung

  173 BENAR 0 1 0 0 0 0 0 0 Mangkurat

  0 0 0 0 0 0 0 0 Universitas Syiah Kuala 174

  BENAR 0 0 1 0 0 0 0 0 Banda 0 0 0 0 0 0 0 0 Universitas Syiah Kuala

  175 BENAR 0 0 1 0 0 0 0 0 Banda

  0 0 0 0 0 0 0 0 Universitas Syiah Kuala 176

  BENAR 0 0 1 0 0 0 0 0 Banda

  0 0 0 0 0 0 0 0 183 Universitas Sam Ratulangi BENAR 0 0 0 1 0 0 0 0

  0 0 0 0 0 0 0 0 Universitas Udayana 184

  BENAR 0 0 0 0 1 0 0 0 Denpasar 0 0 0 0 0 0 0 0 Universitas Udayana

  185 BENAR 0 0 0 0 1 0 0 0 Denpasar

  0 0 0 0 0 0 0 0 Universitas Udayana 186

  BENAR 0 0 0 0 1 0 0 0 Denpasar 0 0 0 0 0 0 0 0 Universitas Udayana

  187 BENAR 0 0 0 0 1 0 0 0 Denpasar

  0 0 0 0 0 0 0 0 Universitas Mulawarman 194

  BENAR 0 0 0 0 0 0 1 0 Samarinda 0 0 0 0 0 0 0 0 Universitas Mulawarman

  195 BENAR 0 0 0 0 0 0 1 0 Samarinda

  0 0 0 0 0 0 0 0 Universitas Mulawarman 196

  BENAR 0 0 0 0 0 0 1 0 Samarinda 0 0 0 0 0 0 0 0 Universitas Mulawarman

  197 BENAR 0 0 0 0 0 0 1 0 Samarinda

  0 0 0 0 0 0 0 0 Universitas Mulawarman 198

  BENAR 0 0 0 0 0 0 1 0 Samarinda

  0 0 1 0 0 0 0 0 205 Universitas Sumatera Utara BENAR 0 0 0 0 0 0 0 0

  0 0 1 0 0 0 0 0 206 Universitas Sumatera Utara BENAR 0 0 0 0 0 0 0 0

  0 0 1 0 0 0 0 0 207 Universitas Sumatera Utara BENAR 0 0 0 0 0 0 0 0

  0 0 1 0 0 0 0 0 208 Universitas Sumatera Utara BENAR 0 0 0 0 0 0 0 0