Lampiran 1
Data Testing Normal Jantung
Lampiran 2
Lampiran 3
Data Testing Abnormal Variasi Jantung
Lampiran 4
Listing Rancangan Form Cover
%--- Executes just before COVER is made visible.
function COVER_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 COVER (see VARARGIN)
set(imshow('C:\Users\M.TAUFIQ\Downloads\gambar anatomi\Picture1.jpg')); % Choose default command line output for COVER
handles.output = hObject; % Update handles structure guidata(hObject, handles);
% UIWAIT makes COVER wait for user response (see UIRESUME) % uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line. function varargout = COVER_OutputFcn(hObject, eventdata, handles) % varargout cell array for returning output args (see VARARGOUT); % hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Get default command line output from handles structure
varargout{1} = handles.output;
% ---function Training_Callback(hObject, eventdata, handles) % hObject handle to Training (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) respon=USER('title','Training');
% ---function Testing_Callback(hObject, eventdata, handles) % hObject handle to Testing (see GCBO)
% ---function Help_Callback(hObject, eventdata, handles) % hObject handle to Help (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % ---function Ischemia_Callback(hObject, eventdata, handles) % hObject handle to Ischemia (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
% ---function Untitled_1_Callback(hObject, eventdata, handles) % hObject handle to Untitled_1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % ---function Untitled_2_Callback(hObject, eventdata, handles) % hObject handle to Untitled_2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
% ---function Exit_Callback(hObject, eventdata, handles)
% hObject handle to Exit (see GCBO)
Lampiran 5
Listing Rancangan Form Training
function edit3_Callback(hObject, eventdata, handles) % hObject handle to edit3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit3 as text
% str2double(get(hObject,'String')) returns contents of edit3 as a double % --- Executes during object creation, after setting all properties.
function edit3_CreateFcn(hObject, eventdata, handles) % hObject handle to edit3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white'); end
function edit4_Callback(hObject, eventdata, handles) % hObject handle to edit4 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit4 as text
% str2double(get(hObject,'String')) returns contents of edit4 as a double % --- Executes during object creation, after setting all properties.
function edit4_CreateFcn(hObject, eventdata, handles) % hObject handle to edit4 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
% ---function File_Callback(hObject, eventdata, handles) % hObject handle to File (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) %
---function Proses_Callback(hObject, eventdata, handles) % hObject handle to Proses (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) %
---function Training_Callback(hObject, eventdata, handles) % hObject handle to Training (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) myform=guidata(gcbo);
load 'C:\Users\M.TAUFIQ\Documents\MATLAB\DATABASE\UJI COBA 2\inputujicoba3';
P=z;
n=str2double(get(myform.edit3,'String')); m=str2double(get(myform.edit4,'String'));
load 'C:\Users\M.TAUFIQ\Documents\MATLAB\DATABASE\UJI COBA 2\targetcoba4';
T=a;
net=newff(minmax(P),[n 1],{'logsig' 'purelin'},'traingda');
C=Y'; function Browse_Callback(hObject, eventdata, handles) % hObject handle to Browse (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) %
---function Exit_Callback(hObject, eventdata, handles) % hObject handle to Exit (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) close;
function edit9_Callback(hObject, eventdata, handles) % hObject handle to edit9 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of edit9 as text
% str2double(get(hObject,'String')) returns contents of edit9 as a double % --- Executes during object creation, after setting all properties.
function edit9_CreateFcn(hObject, eventdata, handles) % hObject handle to edit9 (see GCBO)
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
Lampiran 6
Listing Rancangan Form Testing
function enama_Callback(hObject, eventdata, handles) % hObject handle to enama (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of enama as text
% str2double(get(hObject,'String')) returns contents of enama as a double % --- Executes during object creation, after setting all properties.
function enama_CreateFcn(hObject, eventdata, handles) % hObject handle to enama (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white'); end
function etanggal_Callback(hObject, eventdata, handles) % hObject handle to etanggal (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of etanggal as text
% str2double(get(hObject,'String')) returns contents of etanggal as a double % --- Executes during object creation, after setting all properties.
function etanggal_CreateFcn(hObject, eventdata, handles) % hObject handle to etanggal (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
end
% ---function File_Callback(hObject, eventdata, handles)
% hObject handle to File (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % ---function Untitled_2_Callback(hObject, eventdata, handles) % hObject handle to Untitled_2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
% ---function citra_Callback(hObject, eventdata, handles) % hObject handle to citra (see GCBO)
SEE=strel('square',2); bww=imerode(bww1,SEE);
set(proyek.figure1,'CurrentAxes',proyek.axes13); set(imshow(bww));
% penentuan ordinat [m n]=size(bww)
axis([0 n omin-10 omaks+10]) save TEST yy;
% ---function Untitled_6_Callback(hObject, eventdata, handles) % hObject handle to File (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
% ---function Exit_Callback(hObject, eventdata, handles) % hObject handle to Exit (see GCBO)
% ---function Browse_Callback(hObject, eventdata, handles) % hObject handle to Browse (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) proyek=guidata(gcbo); function deteksi_Callback(hObject, eventdata, handles) % hObject handle to deteksi (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) proyek=guidata(gcbo);
load 'C:\Users\M.TAUFIQ\Documents\MATLAB\DATABASE\UJI COBA 2\inputNew7'
set(proyek.hasil,'string','Ischemic') else if Y==0
function hasil_Callback(hObject, eventdata, handles) % hObject handle to hasil (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of hasil as text
% --- Executes during object creation, after setting all properties. function hasil_CreateFcn(hObject, eventdata, handles)
% hObject handle to hasil (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white'); end