• Tidak ada hasil yang ditemukan

Lampiran 1 Data Testing Normal Jantung

N/A
N/A
Protected

Academic year: 2019

Membagikan "Lampiran 1 Data Testing Normal Jantung"

Copied!
14
0
0

Teks penuh

(1)

Lampiran 1

Data Testing Normal Jantung

(2)

Lampiran 2

(3)

Lampiran 3

Data Testing Abnormal Variasi Jantung

(4)

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)

(5)

% ---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)

(6)

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'))

(7)

% ---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');

(8)

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)

(9)

if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))

(10)

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'))

(11)

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)

(12)

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)

(13)

% ---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

(14)

% --- 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

Referensi

Dokumen terkait

% hObject handle to edit1 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB.. % handles structure with handles and user data

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA). % Hint: get(hObject,'Value') returns toggle state

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) tegangan = str2double(get(hObject,. 'String')); if

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)

% hObject handle to tombolKeluar (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB. % handles structure with handles and user data (see

% handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of boi as text % str2double(get(hObject,'String'))

% hObject handle to close_pushbutton (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB. % handles structure with handles and user data (see

% handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit5 as text % str2double(get(hObject,'String'))